Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
collapsing switch cases with same bodies, when not lined in a row (#1070
) * collapsing switch cases with same bodies, when not lined in a row * fix side-effects bug (collapse_same_branches_not_in_a_row_ensure_no_side_effects) * fix fallthrough bug (collapse_same_branches_not_in_a_row_including_fallthrough_with_same_body) * PR changes * collapse_same_branches_not_in_a_row_even_if_last_case_without_abort * PR changes + cleanups * misc * change empty branch to inert
- Loading branch information
1 parent
8dea529
commit 8430c66
Showing
2 changed files
with
331 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters