Sirraide wrote:
> I'm not entirely sure if we should do the same thing in
> `Sema::ActOnBreakStmt`, but I think so.
If we’re doing this then that *should* be fine so long as we still drop the
`break`/`continue` if were not inside a loop or `switch` statement, because
trying to evaluate e.g. `int f() { break; }` would definitely crash.
https://github.com/llvm/llvm-project/pull/168332
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits