Repository navigation
Commit a27e5a6
authored
[stmt.label, except.pre] Use new wording "control-flow-limited" statement (cplusplus#5413)
A new term of art (control-flow-limited statement) is introduced in [stmt.label]
to express the restrictions on control flow into a statement (namely jumping to labels).
Both [stmt.if] and [except.pre] are updated to use the new term.
This rewords "shall not be used to" avoiding question of actual "use": the "shall not be
used to" phrasing may be taken to refer only in cases where the actual use occurs
or is the primary intent. Instead, the intended restriction can be written in terms
of static properties of the constructs so restricted in the style of [stmt.if].1 parent 2940703 commit a27e5a6
2 files changed
Lines changed: 18 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
| 75 | + | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
155 | 167 | | |
156 | 168 | | |
157 | 169 | | |
| |||
277 | 289 | | |
278 | 290 | | |
279 | 291 | | |
| 292 | + | |
| 293 | + | |
280 | 294 | | |
281 | 295 | | |
282 | 296 | | |
| |||
286 | 300 | | |
287 | 301 | | |
288 | 302 | | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | 303 | | |
296 | 304 | | |
297 | 305 | | |
| |||
364 | 372 | | |
365 | 373 | | |
366 | 374 | | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
| 375 | + | |
| 376 | + | |
373 | 377 | | |
374 | 378 | | |
375 | 379 | | |
| |||
0 commit comments