commit | 585d7795c2dddaa510b3bb1b3b18633bfcfdf643 | [log] [tgz] |
---|---|---|
author | David Blaikie <dblaikie@gmail.com> | Mon Jan 23 04:46:12 2012 +0000 |
committer | David Blaikie <dblaikie@gmail.com> | Mon Jan 23 04:46:12 2012 +0000 |
tree | be446f95e0162eff5681a650b1ad437d898d7c7a | |
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