================
@@ -5479,6 +5479,7 @@ void Sema::InstantiateVariableInitializer(
         *this, Sema::ExpressionEvaluationContext::PotentiallyEvaluated, Var);
 
     keepInLifetimeExtendingContext();
+    keepInRebuildDefaultArgOrInitContext();
----------------
yronglin wrote:

I removed these 2 help functions, and doing it directly. It looks more clear.

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

Reply via email to