[cfe-commits] r158416 - in /cfe/trunk: include/clang/Driver/Options.td lib/Driver/Tools.cpp test/Driver/warning-options.cpp

John McCall rjmccall at apple.com
Thu Jun 14 11:29:21 PDT 2012


On Jun 13, 2012, at 1:24 PM, Richard Smith wrote:
> On Wed, Jun 13, 2012 at 1:09 PM, Chandler Carruth <chandlerc at google.com> wrote:
> But you didn't test the interaction of '--pedantic' and '--no-pedantic', much less '--pedantic' and '-no-pedantic' or '-pedantic' and '--no-pedantic'. =7
> 
> Less =7ly, it looks like -pedantic-errors -no-pedantic will still produce -pedantic errors. Is that what we want? I would have expected -pedantic, -pedantic-errors, -no-pedantic to work analogously to -Wpedantic, -Werror=pedantic, -Wno-pedantic.

Mmm, yes, I can see this.  I'm going to hold off for a bit because we're discussing how this should work with -Weverything;  we may want to change how we model -pedantic to be a warning flag with some extra semantics.

John.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120614/e480597b/attachment.html>


More information about the cfe-commits mailing list