On Mon, Mar 16, 2020 at 6:11 PM Lewis Hyatt <lhy...@gmail.com> wrote:
> Regarding -Wmissing-format-attribute, that is an interesting case, it's the 
> only
> instance in any *.opt that has an = sign in the Alias target. If I understand
> correctly, this one can't use the 3-argument form of Alias() because
> -Wno-missing-format-attribute is actually an alias for
> -Wno-suggest-attribute=format, rather than -Wsuggest-attribute=<something>. I
> think that one could be left as is or else my patch would need to check for 
> an =
> sign in the alias target and handle this case as well, but that may lead to
> other surprises in the future.

Sorry, please disregard the above paragraph, that was my mistake...
Those kinds of aliases with an = are used frequently. I guess the
current behavior is probably best for them.

-Lewis

Reply via email to