Skip to content

docs: clarify loop invariants with break and goto - #9136

Closed
tomatotomata wants to merge 1 commit into
diffblue:developfrom
tomatotomata:codex/document-loop-invariant-break-8812
Closed

docs: clarify loop invariants with break and goto#9136
tomatotomata wants to merge 1 commit into
diffblue:developfrom
tomatotomata:codex/document-loop-invariant-break-8812

Conversation

@tomatotomata

Copy link
Copy Markdown

Summary\n\n- replace the illustrative �reak in the transformed loop-invariant example with a valid goto exit\n- document the non-strict treatment of �reak and loop-exiting goto paths\n\nFixes #8812\n\n## Validation\n\n- git diff --check\n\nThis is a documentation-only change.

Explain the non-strict treatment of loop exits and keep the transformed example valid C by replacing its illustrative break with a goto.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant