]> granicus.if.org Git - clang/commit
Fix "warning: fallthrough annotation does not directly precede switch label" in lambdas.
authorAlexander Kornienko <alexfh@google.com>
Tue, 24 Jun 2014 15:28:21 +0000 (15:28 +0000)
committerAlexander Kornienko <alexfh@google.com>
Tue, 24 Jun 2014 15:28:21 +0000 (15:28 +0000)
commitdc372a9212ae124e4b634f50a0339f0488b6d6b5
tree7eb48191861cef70aadce7b038832d18f6b90e60
parent8d4db1f1af86be205b576abb3707da937f31ecd5
Fix "warning: fallthrough annotation does not directly precede switch label" in lambdas.

Summary: This patch fixes http://llvm.org/PR17864 - "warning: fallthrough annotation does not directly precede switch label" in lambdas.

Reviewers: rsmith

Reviewed By: rsmith

Subscribers: rnk, cfe-commits

Differential Revision: http://reviews.llvm.org/D4258

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211599 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/AnalysisBasedWarnings.cpp
test/SemaCXX/switch-implicit-fallthrough.cpp