Commit d7d58cb
committed
[Refactoring] Tweak handling of return and break placeholders
- Add a missing return to the break statement
placeholder handling.
- Only turn the `return` token into a placeholder,
as we still want to apply the transformation to
the sub expression.
This stops us from crashing by attempting to walk
into the return sub-expression.
rdar://777893601 parent ef318a1 commit d7d58cb
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5600 | 5600 | | |
5601 | 5601 | | |
5602 | 5602 | | |
5603 | | - | |
| 5603 | + | |
5604 | 5604 | | |
5605 | 5605 | | |
5606 | 5606 | | |
5607 | 5607 | | |
5608 | | - | |
| 5608 | + | |
| 5609 | + | |
| 5610 | + | |
5609 | 5611 | | |
5610 | 5612 | | |
5611 | 5613 | | |
| |||
0 commit comments