[clang] c7d3859 - [ast matcher] add `ExportDecl` in dynamically matchers (#118258)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 3 14:43:33 PST 2024
Author: Congcong Cai
Date: 2024-12-04T06:43:29+08:00
New Revision: c7d38591be8b5c581c228313d2972cb758221cc2
URL: https://github.com/llvm/llvm-project/commit/c7d38591be8b5c581c228313d2972cb758221cc2
DIFF: https://github.com/llvm/llvm-project/commit/c7d38591be8b5c581c228313d2972cb758221cc2.diff
LOG: [ast matcher] add `ExportDecl` in dynamically matchers (#118258)
Added:
Modified:
clang/lib/ASTMatchers/Dynamic/Registry.cpp
Removed:
################################################################################
diff --git a/clang/lib/ASTMatchers/Dynamic/Registry.cpp b/clang/lib/ASTMatchers/Dynamic/Registry.cpp
index 8d36ad5c80b5d4..837633fb2f0601 100644
--- a/clang/lib/ASTMatchers/Dynamic/Registry.cpp
+++ b/clang/lib/ASTMatchers/Dynamic/Registry.cpp
@@ -243,6 +243,7 @@ RegistryMaps::RegistryMaps() {
REGISTER_MATCHER(equalsBoundNode);
REGISTER_MATCHER(equalsIntegralValue);
REGISTER_MATCHER(explicitCastExpr);
+ REGISTER_MATCHER(exportDecl);
REGISTER_MATCHER(expr);
REGISTER_MATCHER(exprWithCleanups);
REGISTER_MATCHER(fieldDecl);
More information about the cfe-commits
mailing list