[clang] [clang][constexpr] Allow IndirectGotoStmt in constexpr functions for C++23 (PR #213449)
Yanzuo Liu via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 2 21:19:03 PDT 2026
================
@@ -117,6 +117,8 @@ features cannot lower the translation-unit ABI level;
#### C++23 Feature Support
+- Clang now allows indirect goto statements in `constexpr` functions in C++23 ([P2242R3](https://wg21.link/p2242r3)). (#GH213449)
----------------
zwuis wrote:
Indirect goto is not a standard C++ feature.
---
Indirect goto is an internal name. Use a name that people are more familiar with. You can take a look at GCC documentation.
---
Only reference the issue (if any) fixed by this PR.
https://github.com/llvm/llvm-project/pull/213449
More information about the cfe-commits
mailing list