================
@@ -10950,6 +10950,9 @@ bool 
ArrayExprEvaluator::VisitCXXParenListOrInitListExpr(
 }
 
 bool ArrayExprEvaluator::VisitArrayInitLoopExpr(const ArrayInitLoopExpr *E) {
+
+  FullExpressionRAII Scope(Info);
+
----------------
isuckatcs wrote:

I added your second testcase to the patch. For the first one 
`-fexperimental-new-constant-interpreter` still emits `error: constexpr 
constructor never produces a constant expression [-Winvalid-constexpr]`.

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

Reply via email to