================
@@ -5479,6 +5479,7 @@ void Sema::InstantiateVariableInitializer(
*this, Sema::ExpressionEvaluationContext::PotentiallyEvaluated, Var);
keepInLifetimeExtendingContext();
+ keepInRebuildDefaultArgOrInitContext();
----------------
cor3ntin wrote:
I am not sure that setting the flag in a one line function is better than doing
it directly there
https://github.com/llvm/llvm-project/pull/97308
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits