[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
================
@@ -167,6 +167,14 @@ constexpr int DisallowedStmtsCXX14_7() {
int n; // beforecxx20-warning {{uninitialized variable in a constexpr function}}
}
+constexpr int DisallowedStmtsCXX14_8() {
----------------
zwuis wrote:
Indirect goto is not a standard C++ feature.
https://github.com/llvm/llvm-project/pull/213449
More information about the cfe-commits
mailing list