================
@@ -2203,6 +2203,12 @@ Parser::ParseCXXCondition(StmtResult *InitStmt, 
SourceLocation Loc,
       return ParseCXXCondition(nullptr, Loc, CK, MissingOK);
     }
 
+    EnterExpressionEvaluationContext Eval(
----------------
a-tarasyuk wrote:

This context will be applied only for `ConstexprIf`. It uses the `ShouldEnter` 
flag to control the pushing of the extra context, all other kinds will be 
ignored

https://github.com/llvm/llvm-project/blob/e1c1e74a6fd71dd889155100d4c0f5e3284f7a22/clang/include/clang/Sema/EnterExpressionEvaluationContext.h#L29-L33

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

Reply via email to