================
@@ -775,8 +776,12 @@ AST_MATCHER_P(ClassTemplateSpecializationDecl,
hasSpecializedTemplate,
/// implicit default/copy constructors).
AST_POLYMORPHIC_MATCHER(isImplicit,
AST_POLYMORPHIC_SUPPORTED_TYPES(Decl, Attr,
- LambdaCapture)) {
- return Node.isImplicit();
+ LambdaCapture,
----------------
AaronBallman wrote:
I think it'd be good to update the comment to give some code examples, as other
matchers do (and then regenerate the AST matcher documentation by running
`clang/docs/tools/dump_ast_matchers.py`).
https://github.com/llvm/llvm-project/pull/195175
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits