diff options
author | David Blaikie <dblaikie@gmail.com> | 2012-01-23 04:46:12 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2012-01-23 04:46:12 +0000 |
commit | 60ac6382e0e23d81185b6383c9254466b676e245 (patch) | |
tree | af7276a9cf48b6ea225217428d2812b7125d47fd /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 33a362e0af1fdf70e360c10f08682eddbe8ae6b7 (diff) | |
download | llvm-60ac6382e0e23d81185b6383c9254466b676e245.zip llvm-60ac6382e0e23d81185b6383c9254466b676e245.tar.gz llvm-60ac6382e0e23d81185b6383c9254466b676e245.tar.bz2 |
Implement -Wswitch-enum correctly.
Clang previously implemented -Wswitch-enum the same as -Wswitch. This patch
corrects the behavior to match GCC's. The critical/only difference being that
-Wswitch-enum is not silenced by the presence of a default case in the switch.
llvm-svn: 148679
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions