summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2012-02-08 05:08:58 +0000
committerTed Kremenek <kremenek@apple.com>2012-02-08 05:08:58 +0000
commit8d968ad5c041edf2e611d140e0ba8c624876995d (patch)
tree8934995bf57ad717d70b4544741f0dbed9086728 /clang/lib/CodeGen
parentafa6e249cbc5ecacbba96f92abed24b441fdc265 (diff)
downloadbcm5719-llvm-8d968ad5c041edf2e611d140e0ba8c624876995d.tar.gz
bcm5719-llvm-8d968ad5c041edf2e611d140e0ba8c624876995d.zip
Move -Wcovered-switch-default out of -Wswitch (and -Wall), and make it an opt-in warning.
This is a great warning, but it was observed that a ton of real world code violates it all the time for (semi-)legitimate reasons. This warnings is fairly pedantic, which is good, but not for everyone. For example, there is a fair amount of idiomatic code out there that does "default: abort()", and similar idioms. Addresses <rdar://problem/10814651>. llvm-svn: 150055
Diffstat (limited to 'clang/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud