[clang] [clang-tools-extra] [clang] Make `InitListExpr::isExplicit()` work (PR #195175)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Wed May 6 05:53:37 PDT 2026
================
@@ -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
More information about the cfe-commits
mailing list