forked from OSchip/llvm-project
424733c12a
Modify the IfStmt node to suppoort constant evaluated expressions. Add a new ExpressionEvaluationContext::ImmediateFunctionContext to keep track of immediate function contexts. This proved easier/better/probably more efficient than walking the AST backward as it allows diagnosing nested if consteval statements. |
||
---|---|---|
.. | ||
stmt.ambig | ||
stmt.dcl | ||
stmt.iter/stmt.ranged | ||
stmt.label | ||
stmt.select |