diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-05-03 18:27:39 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-05-03 18:27:39 +0000 |
commit | 84837d5b5aa0d9d015aca1f08eb96ee27a47a84b (patch) | |
tree | 138db43cee7b666753b9a02e6595c244d4f3ff66 /llvm/docs/CommandGuide/llvm-config.pod | |
parent | b3b56bb9600d5626b706cfb3d3b5cc365cafa4dd (diff) | |
download | bcm5719-llvm-84837d5b5aa0d9d015aca1f08eb96ee27a47a84b.tar.gz bcm5719-llvm-84837d5b5aa0d9d015aca1f08eb96ee27a47a84b.zip |
Add -Wimplicit-fallthrough warning flag, which warns on fallthrough between
cases in switch statements. Also add a [[clang::fallthrough]] attribute, which
can be used to suppress the warning in the case of intentional fallthrough.
Patch by Alexander Kornienko!
The handling of C++11 attribute namespaces in this patch is temporary, and will
be replaced with a cleaner mechanism in a subsequent patch.
llvm-svn: 156086
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-config.pod')
0 files changed, 0 insertions, 0 deletions