]> granicus.if.org Git - clang/commit
Fixed "fallthrough annotation does not directly precede switch label" warning in
authorAlexander Kornienko <alexfh@google.com>
Tue, 2 Apr 2013 15:20:32 +0000 (15:20 +0000)
committerAlexander Kornienko <alexfh@google.com>
Tue, 2 Apr 2013 15:20:32 +0000 (15:20 +0000)
commitb0707c9a933b1839fa966e4c72e4dcb9a198f11f
tree037e937a7524cae3999c6626e44a9dafaa6f0be7
parent3791130df5ad83e4a9872f90cc9675e90b772f88
Fixed "fallthrough annotation does not directly precede switch label" warning in
case when [[clang::fallthrough]]; is used in a method of a local class.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178543 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/AnalysisBasedWarnings.cpp
test/SemaCXX/switch-implicit-fallthrough-regression.cpp [new file with mode: 0644]