[clang] [Clang] Distinguish expanding-packs-in-place cases for SubstTemplateTypeParmTypes (PR #114220)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 31 06:16:41 PDT 2024


================
@@ -6393,7 +6396,8 @@ class SubstTemplateTypeParmType final
   Decl *AssociatedDecl;
 
   SubstTemplateTypeParmType(QualType Replacement, Decl *AssociatedDecl,
-                            unsigned Index, std::optional<unsigned> PackIndex);
+                            unsigned Index, std::optional<unsigned> PackIndex,
+                            bool ExpandPacksInPlace);
----------------
erichkeane wrote:

I of course have a preference for this to be a scoped enum instead of a bool.

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


More information about the cfe-commits mailing list