r304473 - Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC.
Galina Kistanova via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 1 14:19:06 PDT 2017
Author: gkistanova
Date: Thu Jun 1 16:19:06 2017
New Revision: 304473
URL: http://llvm.org/viewvc/llvm-project?rev=304473&view=rev
Log:
Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC.
Modified:
cfe/trunk/lib/Parse/ParseDeclCXX.cpp
Modified: cfe/trunk/lib/Parse/ParseDeclCXX.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/ParseDeclCXX.cpp?rev=304473&r1=304472&r2=304473&view=diff
==============================================================================
--- cfe/trunk/lib/Parse/ParseDeclCXX.cpp (original)
+++ cfe/trunk/lib/Parse/ParseDeclCXX.cpp Thu Jun 1 16:19:06 2017
@@ -4215,6 +4215,7 @@ void Parser::ParseMicrosoftIfExistsClass
Diag(Result.KeywordLoc, diag::warn_microsoft_dependent_exists)
<< Result.IsIfExists;
// Fall through to skip.
+ LLVM_FALLTHROUGH;
case IEB_Skip:
Braces.skipToEnd();
More information about the cfe-commits
mailing list