aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaChecking.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2012-01-22 02:31:55 +0000
committerDavid Blaikie <dblaikie@gmail.com>2012-01-22 02:31:55 +0000
commit9366750a5a97c8aeae1df4898ea849b087865195 (patch)
treeebac52c117547e3b9ba7e42bc151c3f9eaa06a05 /lib/Sema/SemaChecking.cpp
parentadabbca569bd6c6dfe91773dea8cf7d14cb4cc5e (diff)
Fix -Wswitch to warn about out of bounds enum cases even when there's a default
For consistency with GCC & reasonable sanity. The FIXME suggests that the original author was perhaps using the default check for some other purpose, not realizing the more obvious limitation/false-negatives it creates, but this doesn't seem to produce any regressions & fixes the included test. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148649 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaChecking.cpp')
0 files changed, 0 insertions, 0 deletions