[clang] [clang] fix P3310 overload resolution flag propagation (PR #125372)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Feb 1 22:03:46 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";
+ }
----------------
cor3ntin wrote:
I don't know if that's useful information in the ast dump - is that just for testing? I'd be inclined to removing it, the ast dump doesn't tell you _how_ it was formed
https://github.com/llvm/llvm-project/pull/125372
More information about the cfe-commits
mailing list