[clang] [clang] Fix a crash from nested ArrayInitLoopExpr (PR #67722)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 28 13:36:54 PDT 2023
================
@@ -10950,6 +10950,9 @@ bool ArrayExprEvaluator::VisitCXXParenListOrInitListExpr(
}
bool ArrayExprEvaluator::VisitArrayInitLoopExpr(const ArrayInitLoopExpr *E) {
+
+ FullExpressionRAII Scope(Info);
+
----------------
isuckatcs wrote:
> so that we destroy temporaries after each iteration of the initialization loop
Yes, this was my intention, I just seem to got it wrong. Thanks for catching it!
https://github.com/llvm/llvm-project/pull/67722
More information about the cfe-commits
mailing list