Skip to content

Don’t visit parts of the syntax tree that don’t contain any SequenceExpr in SequenceFolder #867

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Sep 30, 2022

Use a recursive bit to record whether a given subtree contains a SequenceExpr and skip any parts of the syntax tree that don’t contain SequenceExprs in SequenceFolder.

…Expr` in `SequenceFolder`

Use a recursive bit to record whether a given subtree contains a `SequenceExpr` and skip any parts of the syntax tree that don’t contain `SequenceExpr`s in `SequenceFolder`.
@ahoppen ahoppen requested a review from DougGregor September 30, 2022 12:16
@ahoppen
Copy link
Member Author

ahoppen commented Sep 30, 2022

@swift-ci Please test

@ahoppen ahoppen merged commit f783d3d into swiftlang:main Sep 30, 2022
@ahoppen ahoppen deleted the ahoppen/skip-subtrees-without-sequence-expr branch September 30, 2022 18:27
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