[clang] [CIR] Upstream LabelOp (PR #152802)

Morris Hafner via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 11 05:23:42 PDT 2025


mmha wrote:

Can you add tests where you put a label in some unreachable code?

```c++
void after_return() {
  return;
  label:
}

void after_throw() {
  throw 0;
  label:
}
```

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


More information about the cfe-commits mailing list