[clang] [clang-tools-extra] [clang] Make `InitListExpr::isExplicit()` work (PR #195175)
via cfe-commits
cfe-commits at lists.llvm.org
Mon May 4 09:19:28 PDT 2026
================
@@ -8144,7 +8144,7 @@ AST_MATCHER(CXXConstructorDecl, isDelegatingConstructor) {
/// cxxDeductionGuideDecl(isExplicit()) will match #6, but not #5.
AST_POLYMORPHIC_MATCHER(isExplicit, AST_POLYMORPHIC_SUPPORTED_TYPES(
CXXConstructorDecl, CXXConversionDecl,
- CXXDeductionGuideDecl)) {
+ CXXDeductionGuideDecl, InitListExpr)) {
----------------
Sirraide wrote:
Yeah, I agree w/ that
https://github.com/llvm/llvm-project/pull/195175
More information about the cfe-commits
mailing list