mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-24 06:56:05 +00:00

Fixes #123524 --- This PR addresses the issue of immediate function expressions not properly evaluated in `constexpr` if conditions. Adding the `ConstantEvaluated` context for expressions in `constexpr` if statements ensures that these expressions are treated as manifestly constant-evaluated and parsed correctly.