[cfe-commits] r152886 - in /cfe/trunk: include/clang/Basic/DiagnosticLexKinds.td test/Misc/warning-flags.c

Chandler Carruth chandlerc at google.com
Thu Mar 15 18:24:07 PDT 2012


On Thu, Mar 15, 2012 at 6:03 PM, Ted Kremenek <kremenek at apple.com> wrote:

> Don't know if it is an anathema to include '#' in the warning name.  I'm
> fine
> with changing it, but this was the most obvious name.
>

I'd personally like to avoid usual characters in warning names. The '+'s we
have already cause shell confusion enough, # seems risky...

-Wimport-directive-pedantic?
-Wimport-preprocessor-directive-pedantic?

Or we could just be lame and use "-Whash-import-pedantic" but I feel like a
more descriptive name should be available to distinguish the various forms
of this.

Maybe others on the list have better ideas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120315/1b9d8fad/attachment.html>


More information about the cfe-commits mailing list