================
@@ -2203,6 +2203,12 @@ Parser::ParseCXXCondition(StmtResult *InitStmt,
SourceLocation Loc,
return ParseCXXCondition(nullptr, Loc, CK, MissingOK);
}
+ EnterExpressionEvaluationContext Eval(
----------------
a-tarasyuk wrote:
Do you mean using the extra context for this case would introduce unnecessary
overhead? Should the `if constexpr` be parsed within the same context, but with
different parsing logic?
https://github.com/llvm/llvm-project/pull/123667
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits