summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-15 07:01:18 +0000
committerChris Lattner <sabre@nondot.org>2009-04-15 07:01:18 +0000
commite007de3b9a173be5c329662622829227313283c0 (patch)
treee61c2fe5df00c4b58f997bce5848a7d9ec214a7a /clang/lib/CodeGen/CodeGenModule.cpp
parentd5846a1eb5655f0e1ea50d06677fd1686cb01227 (diff)
downloadbcm5719-llvm-e007de3b9a173be5c329662622829227313283c0.tar.gz
bcm5719-llvm-e007de3b9a173be5c329662622829227313283c0.zip
Rejigger how -pedantic and -pedantic-errors work and their interaction
with other diagnostic mapping. In the new scheme, -Wfoo or -Wno-foo or -Werror=foo all override the -pedantic options, and __extension__ robustly silences all extension diagnostics in their scope. An added bonus of this change is that MAP_DEFAULT goes away, meaning that per-diagnostic mapping information can now be stored in 2 bits, doubling the density of the Diagnostic::DiagMapping array. This also substantially simplifies Diagnostic::getDiagnosticLevel. OTOH, this temporarily introduces some "macro intensive" code in Diagnostic.cpp. This will be addressed in a later patch. llvm-svn: 69154
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud