[clang] [clang] Add break/continue stmts with missing lable to the AST (PR #168332)

via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 17 04:42:15 PST 2025


Sirraide wrote:

> because trying to evaluate e.g. `int f() { break; }` would definitely crash.

As would
```c++
constexpr int f() {
  switch (1) {
    case 1: continue a;
  }
  return 1;
}
```

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


More information about the cfe-commits mailing list