[clang] [ast matcher] add `ExportDecl` in dynamically matchers (PR #118258)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Dec 1 22:09:50 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Congcong Cai (HerrCai0907)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/118258.diff
1 Files Affected:
- (modified) clang/lib/ASTMatchers/Dynamic/Registry.cpp (+1)
``````````diff
diff --git a/clang/lib/ASTMatchers/Dynamic/Registry.cpp b/clang/lib/ASTMatchers/Dynamic/Registry.cpp
index 8d36ad5c80b5d4..8edad28bc2e58f 100644
--- a/clang/lib/ASTMatchers/Dynamic/Registry.cpp
+++ b/clang/lib/ASTMatchers/Dynamic/Registry.cpp
@@ -604,6 +604,7 @@ RegistryMaps::RegistryMaps() {
REGISTER_MATCHER(usingDecl);
REGISTER_MATCHER(usingEnumDecl);
REGISTER_MATCHER(usingDirectiveDecl);
+ REGISTER_MATCHER(exportDecl);
REGISTER_MATCHER(valueDecl);
REGISTER_MATCHER(varDecl);
REGISTER_MATCHER(variableArrayType);
``````````
</details>
https://github.com/llvm/llvm-project/pull/118258
More information about the cfe-commits
mailing list