[llvm-branch-commits] [clang] [clang] NFC: rename MatchedPackOnParmToNonPackOnArg to StrictPackMatch (PR #125418)
Matheus Izvekov via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Feb 4 05:48:15 PST 2025
================
@@ -1842,19 +1842,19 @@ class ClassTemplateSpecializationDecl : public CXXRecordDecl,
unsigned SpecializationKind : 3;
/// Indicate that we have matched a parameter pack with a non pack
- /// argument, when the opposite match is also allowed (strict pack match).
+ /// argument, when the opposite match is also allowed.
/// This needs to be cached as deduction is performed during declaration,
/// and we need the information to be preserved so that it is consistent
/// during instantiation.
- bool MatchedPackOnParmToNonPackOnArg : 1;
+ bool StrictPackMatch : 1;
----------------
mizvekov wrote:
Hmm, the short name was one of the big pluses of this patch.
Once the wording is merged, we can quote the paragraph number as well.
Since it's a defined term, I don't think we need that mouthful of a name TBH.
https://github.com/llvm/llvm-project/pull/125418
More information about the llvm-branch-commits
mailing list