diff options
author | Ted Kremenek <kremenek@apple.com> | 2012-02-08 05:08:58 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2012-02-08 05:08:58 +0000 |
commit | 1a2b8e27135ec72f183dd4510612f6d5d7ee088a (patch) | |
tree | 8211fd42b5ee873edcf91768b1f6f3bec48af705 /lib/CodeGen/CodeGenFunction.h | |
parent | 802e02463b880f53a6e645bde78cc412481ce9e0 (diff) |
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>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150055 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions