Next: , Previous: Exceptions_As_Control_Flow, Up: Predefined Rules


23.7.17 Exits_From_Conditional_Loops

Flag any exit statement if it transfers the control out of a for loop or a while loop. This includes cases when the exit statement applies to a FOR or while loop, and cases when it is enclosed in some for or while loop, but transfers the control from some outer (inconditional) loop statement.

The rule has no parameters.