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

via cfe-commits cfe-commits at lists.llvm.org
Sun Sep 27 00:14:19 PDT 2026


================
@@ -775,6 +775,9 @@ features cannot lower the translation-unit ABI level;
 - Added missed information to the AST node representing the member function
   when calling a explicit object member function. (#GH218829)
 
+- Fixed a crash when encountering C2y labeled `break`/`continue` statements
+  in a statement expression within a `switch` conditon.
----------------
Expertcoderz wrote:

Oops, thanks for the catch!

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


More information about the cfe-commits mailing list