]> granicus.if.org Git - clang/commit
Fix horrible regression in control of warnings caused by introduction of -Wpedantic.
authorTed Kremenek <kremenek@apple.com>
Fri, 10 Aug 2012 20:50:00 +0000 (20:50 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 10 Aug 2012 20:50:00 +0000 (20:50 +0000)
commitbb5185c0ca3de4e7d91d011a83c902d7b02a2a1a
treee1f25b831412ce1a5c1c47d2b4ef7f80351d85ce
parent16ba7c8498933781cff103058612e76e8045c798
Fix horrible regression in control of warnings caused by introduction of -Wpedantic.
While -Wpedantic was reasonable, -Wno-pedantic would turn off a bunch of warnings that
are on by default.  This counters the intention of this warning flag.

To fix this, -Wpedantic now includes extentions that are not on by default.  The
remaining warnings will manifest anyway, and won't accidentally get turned off
by -Wno-pedantic.

Fixes <rdar://problem/12076105>

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161695 91177308-0d34-0410-b5e6-96231b3b80d8
test/Misc/warning-flags.c
utils/TableGen/ClangDiagnosticsEmitter.cpp