================
@@ -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,
----------------
bolshakov-a wrote:
I've added a couple of examples. The script produced some unrelated changes. I
didn't commit them. The result looks somewhat strange because the description
is the same for all the four AST node types, hence the examples are completely
unrelated e.g. for `Attr`. (Btw, only now I've discovered that AST matcher
reference web page has hidden descriptions in tables.)
https://github.com/llvm/llvm-project/pull/195175
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits