summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/ChainedIncludesSource.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2013-02-07 02:17:19 +0000
committerAlexander Kornienko <alexfh@google.com>2013-02-07 02:17:19 +0000
commitc121b9b796e40f2eec2aabebb4dfcabe2f21537f (patch)
treeab79a43db91e27556b7780d125927e13c59262de /clang/lib/Frontend/ChainedIncludesSource.cpp
parent56ac51a92ef7102352e7ad81d518c3565af74d7d (diff)
downloadbcm5719-llvm-c121b9b796e40f2eec2aabebb4dfcabe2f21537f.tar.gz
bcm5719-llvm-c121b9b796e40f2eec2aabebb4dfcabe2f21537f.zip
-Wimplicit-fallthrough: fixed two cases where "fallthrough annotation in unreachable code" was issued incorrectly.
Summary: -Wimplicit-fallthrough: fixed two cases where "fallthrough annotation in unreachable code" was issued incorrectly: 1. In actual unreachable code, but not immediately on a fall-through execution path "fallthrough annotation does not directly precede switch label" is better; 2. After default: in a switch with covered enum cases. Actually, these shouldn't be treated as unreachable code for our purpose. Reviewers: rsmith Reviewed By: rsmith CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D374 llvm-svn: 174575
Diffstat (limited to 'clang/lib/Frontend/ChainedIncludesSource.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud