[clang] [clang] Fix rejects-valid on break label; with multiple labels on a loop (PR #246516)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 30 09:46:11 PST 2026


AaronBallman wrote:

> @AaronBallman can you merge, or do you need the test change in this PR?

No need.

> By the way, it's not like we can delete `SemaCXX` entirely because we need a C++ test that covers `template for`, `constexpr`, pattern matching, lambdas, etc. interactions with `break label;`.

Agreed, there's still a purpose to SemaCXX.

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


More information about the cfe-commits mailing list