================ @@ -10796,6 +10796,11 @@ def err_continue_not_in_loop : Error< "'continue' statement not in loop statement">; def err_break_not_in_loop_or_switch : Error< "'break' statement not in loop or switch statement">; +def err_break_continue_label_not_found + : Error<"'%select{break|continue}0' label does not name an enclosing " + "%select{loop or 'switch'|loop}0">; +def err_continue_switch + : Error<"label of 'continue' refers to a switch statement">; ---------------- AaronBallman wrote:
Similar formatting suggestions here as above. https://github.com/llvm/llvm-project/pull/152870 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits