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

Kazu Hirata via cfe-commits cfe-commits at lists.llvm.org
Sat Sep 26 22:32:20 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.
----------------
kazutakahirata wrote:

Typo?
```suggestion
  in a statement expression within a `switch` condition.
```

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


More information about the cfe-commits mailing list