summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.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
commite476f979ca2614775ea8454c10983011da68ed33 (patch)
tree2b4671cc68776ba0d55e48192f8e586bae7c6f7a /llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
parent29e7d608807d3da5e68a6420fbbe4a757cc01a03 (diff)
downloadbcm5719-llvm-e476f979ca2614775ea8454c10983011da68ed33.tar.gz
bcm5719-llvm-e476f979ca2614775ea8454c10983011da68ed33.zip
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. llvm-svn: 148649
Diffstat (limited to 'llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud