[clang] [clang] fix P3310 overload resolution flag propagation (PR #125372)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 3 06:43:02 PST 2025
================
@@ -2525,8 +2525,11 @@ void TextNodeDumper::VisitCXXRecordDecl(const CXXRecordDecl *D) {
OS << " instantiated_from";
dumpPointer(Instance);
}
- if (const auto *CTSD = dyn_cast<ClassTemplateSpecializationDecl>(D))
+ if (const auto *CTSD = dyn_cast<ClassTemplateSpecializationDecl>(D)) {
dumpTemplateSpecializationKind(CTSD->getSpecializationKind());
+ if (CTSD->hasMatchedPackOnParmToNonPackOnArg())
+ OS << " strict_match";
+ }
----------------
AaronBallman wrote:
I'm not opposed to adding the extra information to the AST dump, but if you change TextNodeDumper.cpp, you should also change JSONNodeDumper.cpp as well.
https://github.com/llvm/llvm-project/pull/125372
More information about the cfe-commits
mailing list