[clang] [clang-tools-extra] [clang-tidy][use-internal-linkage]fix false positives for ExportDecl (PR #117901)

Julian Schmidt via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 30 02:37:40 PST 2024


================
@@ -926,6 +926,8 @@ AST Matchers
 - Ensure ``hasName`` matches template specializations across inline namespaces,
   making `matchesNodeFullSlow` and `matchesNodeFullFast` consistent.
 
+- Add ``exportDecl`` matches export declaration.
----------------
5chmidti wrote:

> Add a `exportDecl` matcher to match export declarations.

https://github.com/llvm/llvm-project/pull/117901


More information about the cfe-commits mailing list