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 | 8d968ad5c041edf2e611d140e0ba8c624876995d (patch) | |
| tree | 8934995bf57ad717d70b4544741f0dbed9086728 /lldb/tools/driver/Driver.cpp | |
| parent | afa6e249cbc5ecacbba96f92abed24b441fdc265 (diff) | |
| download | bcm5719-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 'lldb/tools/driver/Driver.cpp')
0 files changed, 0 insertions, 0 deletions

