[clang] c640b8c - [NFC][clang] LLVM_FALLTHROUGH => [[fallthrough]]

via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 1 02:19:14 PDT 2022


Author: Sheng
Date: 2022-09-01T09:19:00Z
New Revision: c640b8ce33f7d128c4d25c282bd245ae7177cf04

URL: https://github.com/llvm/llvm-project/commit/c640b8ce33f7d128c4d25c282bd245ae7177cf04
DIFF: https://github.com/llvm/llvm-project/commit/c640b8ce33f7d128c4d25c282bd245ae7177cf04.diff

LOG: [NFC][clang] LLVM_FALLTHROUGH => [[fallthrough]]

Added: 
    

Modified: 
    clang/lib/Parse/ParseExprCXX.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Parse/ParseExprCXX.cpp b/clang/lib/Parse/ParseExprCXX.cpp
index b2e9aa1f6a14..207977f7176d 100644
--- a/clang/lib/Parse/ParseExprCXX.cpp
+++ b/clang/lib/Parse/ParseExprCXX.cpp
@@ -3065,7 +3065,7 @@ bool Parser::ParseUnqualifiedId(CXXScopeSpec &SS, ParsedType ObjectType,
           << Tok.getIdentifierInfo()->getName() << 0;
       goto ParseIdentifier;
     }
-    LLVM_FALLTHROUGH;
+    [[fallthrough]];
   default:
     Diag(Tok, diag::err_expected_unqualified_id) << getLangOpts().CPlusPlus;
     return true;


        


More information about the cfe-commits mailing list