[llvm-branch-commits] [clang] [clang] NFC: rename MatchedPackOnParmToNonPackOnArg to StrictPackMatch (PR #125418)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun Feb 2 21:42:04 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;
----------------
cor3ntin wrote:

Maybe `DeduceByStrictPackMatchRules` / `wasDeduceByStrictPackMatchRules` (for the getter)

https://github.com/llvm/llvm-project/pull/125418


More information about the llvm-branch-commits mailing list