[clang] [clang][AST] Fix crash on labeled break/continue within switch condition statement expression (PR #228655)

via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 14 04:45:59 PDT 2026


================
@@ -1,4 +1,5 @@
-// RUN: %clang_cc1 -std=c++20 -verify -fsyntax-only -fnamed-loops %s
+// RUN: %clang_cc1 -std=c++20 -verify -fsyntax-only -fnamed-loops %s -fno-experimental-new-constant-interpreter
----------------
Expertcoderz wrote:

Hm, doesn't clang enable the interpreter by default when built with `-DCLANG_USE_EXPERIMENTAL_CONST_INTERP=ON`? Meaning it will be used if `-fno-experimental-new-constant-interpreter` is not specified. Or does it behave differently when running the tests?

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


More information about the cfe-commits mailing list