summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetLibraryInfo.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2012-11-10 01:47:40 +0000
committerTed Kremenek <kremenek@apple.com>2012-11-10 01:47:40 +0000
commit15da29c682124d9e7dae452ded26ae78cc3c0e8d (patch)
tree0c81ccfbb687a2c2caf1057354b4a091e035fc83 /llvm/lib/Target/TargetLibraryInfo.cpp
parent9eb409ace9952626d4be15753616ec5acf7b3396 (diff)
downloadbcm5719-llvm-15da29c682124d9e7dae452ded26ae78cc3c0e8d.tar.gz
bcm5719-llvm-15da29c682124d9e7dae452ded26ae78cc3c0e8d.zip
Disable -Wimplicit-fallthrough when not using C++.
The rationale is that there is no good workflow to silence the warning for specific cases, other than using pragmas. This is because the attribute to decorate an explicit fall through is only available in C++11. By that argument, this should probably also be disabled unless one is using C++11, but apparently there is an explicit test case for this warning when using C++98. This will require further discussion on cfe-commits. Fixes: <rdar://problem/12584746> llvm-svn: 167655
Diffstat (limited to 'llvm/lib/Target/TargetLibraryInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud