================
@@ -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
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits