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 | 585d7795c2dddaa510b3bb1b3b18633bfcfdf643 (patch) | |
tree | be446f95e0162eff5681a650b1ad437d898d7c7a /lib/Driver/Tools.cpp | |
parent | c14ec5a013883b891a71b0a112791693e9d1d1a8 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148679 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions