================ @@ -1236,6 +1236,17 @@ AST_MATCHER_P(TemplateArgument, equalsIntegralValue, extern const internal::VariadicDynCastAllOfMatcher<Stmt, ObjCAutoreleasePoolStmt> autoreleasePoolStmt; +/// Matches any export declaration. +/// +/// Example matches following declarations. +/// \code +/// export void foo(); +/// export { void foo(); } +/// export namespace { void foo(); } +/// export int v; +/// \endcode +extern const internal::VariadicDynCastAllOfMatcher<Decl, ExportDecl> exportDecl; ---------------- PiotrZSL wrote:
Documentation for this matcher need to be updated so it would be visible on https://clang.llvm.org/docs/LibASTMatchersReference.html https://github.com/llvm/llvm-project/pull/117901 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits