llvm-project/clang/test/CXX/stmt.stmt
Corentin Jabot 424733c12a Implement if consteval (P1938)
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.
2021-10-05 08:04:14 -04:00
..
stmt.ambig
stmt.dcl
stmt.iter/stmt.ranged Add diagnostic for for-range-declaration being specificed with thread_local 2020-12-04 15:06:35 -08:00
stmt.label
stmt.select Implement if consteval (P1938) 2021-10-05 08:04:14 -04:00