[clang] [clang] fix P3310 overload resolution flag propagation (PR #125372)
Matheus Izvekov via cfe-commits
cfe-commits at lists.llvm.org
Sun Feb 2 08:01:36 PST 2025
================
@@ -1841,15 +1841,21 @@ class ClassTemplateSpecializationDecl : public CXXRecordDecl,
LLVM_PREFERRED_TYPE(TemplateSpecializationKind)
unsigned SpecializationKind : 3;
+ /// When matching the primary template, have we matched any packs on the
+ /// parameter side, versus any non-packs on the argument side, in a context
+ /// where the opposite matching is also allowed?
+ bool MatchedPackOnParmToNonPackOnArg : 1;
----------------
mizvekov wrote:
Yeah, thanks for catching, that was a slip on my part.
P3310's current wording will introduce the term 'strict pack match', so we could go ahead and also rename all of them to that on a follow up.
https://github.com/llvm/llvm-project/pull/125372
More information about the cfe-commits
mailing list