[clang] 03c393d - Fix build failure from a472e6473e69

via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 12 14:52:48 PDT 2024


Author: erichkeane
Date: 2024-04-12T14:48:39-07:00
New Revision: 03c393db1821ef4c362c4c228492c6fb03f8876f

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

LOG: Fix build failure from a472e6473e69

Looks like I forgot to do build CIndex.cpp when validating myself!

Added: 
    

Modified: 
    clang/tools/libclang/CIndex.cpp

Removed: 
    


################################################################################
diff  --git a/clang/tools/libclang/CIndex.cpp b/clang/tools/libclang/CIndex.cpp
index b999750c0f5e32..f304786ff9dffd 100644
--- a/clang/tools/libclang/CIndex.cpp
+++ b/clang/tools/libclang/CIndex.cpp
@@ -2783,7 +2783,7 @@ class OpenACCClauseEnqueue : public OpenACCClauseVisitor<OpenACCClauseEnqueue> {
   OpenACCClauseEnqueue(EnqueueVisitor &V) : Visitor(V) {}
 
 #define VISIT_CLAUSE(CLAUSE_NAME)                                              \
-  void VisitOpenACC##CLAUSE_NAME##Clause(const OpenACC##CLAUSE_NAME##Clause &C);
+  void Visit##CLAUSE_NAME##Clause(const OpenACC##CLAUSE_NAME##Clause &C);
 #include "clang/Basic/OpenACCClauses.def"
 };
 


        


More information about the cfe-commits mailing list