================
@@ -113,9 +113,11 @@ class TreeTransform {
   class ForgetPartiallySubstitutedPackRAII {
     Derived &Self;
     TemplateArgument Old;
+    Sema::ArgumentPackSubstitutionIndexRAII ResetPackSubstIndex;
----------------
ilya-biryukov wrote:
Could you add a short comment mentioning that we need this because many code 
paths assume correct index corresponds to the pack being present and do not do 
any extra checking?

https://github.com/llvm/llvm-project/pull/108197
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to