aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2012-01-23 04:46:12 +0000
committerDavid Blaikie <dblaikie@gmail.com>2012-01-23 04:46:12 +0000
commit60ac6382e0e23d81185b6383c9254466b676e245 (patch)
treeaf7276a9cf48b6ea225217428d2812b7125d47fd /clang/lib/Frontend/CompilerInvocation.cpp
parent33a362e0af1fdf70e360c10f08682eddbe8ae6b7 (diff)
downloadllvm-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