[clang] [clang] Fix a crash from nested ArrayInitLoopExpr (PR #67722)
Richard Smith via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 28 14:14:18 PDT 2023
================
@@ -10950,6 +10950,9 @@ bool ArrayExprEvaluator::VisitCXXParenListOrInitListExpr(
}
bool ArrayExprEvaluator::VisitArrayInitLoopExpr(const ArrayInitLoopExpr *E) {
+
+ FullExpressionRAII Scope(Info);
+
----------------
zygoloid wrote:
Better testcase, avoiding the use of mutable global state: https://godbolt.org/z/47dhjxT8e
https://github.com/llvm/llvm-project/pull/67722
More information about the cfe-commits
mailing list