[clang] [Clang] use constant evaluation context for constexpr if conditions (PR #123667)

Oleksandr T. via cfe-commits cfe-commits at lists.llvm.org
Sun Mar 9 07:06:45 PDT 2025


================
@@ -309,6 +309,7 @@ Bug Fixes to AST Handling
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 - Fixed type checking when a statement expression ends in an l-value of atomic type. (#GH106576)
 - Fixed uninitialized use check in a lambda within CXXOperatorCallExpr. (#GH129198)
+- Clang now correctly parses ``if constexpr`` expressions in immediate function context. (#GH123524)
----------------
a-tarasyuk wrote:

Thanks. I've moved to `Bug fixes to C++ support` section

https://github.com/llvm/llvm-project/pull/123667


More information about the cfe-commits mailing list