[clang] [Clang] Fix handling of pack indexing types in constraints of redeclaration (PR #139057)

via cfe-commits cfe-commits at lists.llvm.org
Thu May 8 05:11:07 PDT 2025


================
@@ -6884,7 +6884,7 @@ TreeTransform<Derived>::TransformPackIndexingType(TypeLocBuilder &TLB,
     assert(!Unexpanded.empty() && "Pack expansion without parameter packs?");
     // Determine whether the set of unexpanded parameter packs can and should
     // be expanded.
-    bool ShouldExpand = true;
+    bool ShouldExpand = false;
----------------
cor3ntin wrote:

Yup, I just thought it was cleaner / more consistent

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


More information about the cfe-commits mailing list