[clang] [clang] fix P3310 overload resolution flag propagation (PR #125372)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 3 07:00:23 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_pack_match";
----------------
erichkeane wrote:
```suggestion
OS << " strict-pack-match";
```
mild preference? And I see we are inconsistent of course, so do what you want. Feel free to NFC them to something less... underscory if you agree.
https://github.com/llvm/llvm-project/pull/125372
More information about the cfe-commits
mailing list