Skip to content

Split SyntaxRewriter into three files #174

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
merged 1 commit into from
Nov 8, 2019

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Nov 7, 2019

The three types SyntaxRewriter, SyntaxVisitor and SyntaxAnyVisitor are not really tightly coupled and can be split into three different files. This makes the files easier to view in Xcode and decreases debug compile time by another 35% (30s vs 40s).

@ahoppen ahoppen force-pushed the split-syntax-rewriter branch from 8cbf3d1 to 89db543 Compare November 7, 2019 23:20
@ahoppen ahoppen requested review from akyrtzi and removed request for akyrtzi November 7, 2019 23:20
@ahoppen ahoppen force-pushed the split-syntax-rewriter branch from 89db543 to eef8258 Compare November 8, 2019 01:03
@ahoppen ahoppen changed the title WIP: Split SyntaxRewriter into three files Split SyntaxRewriter into three files Nov 8, 2019
@ahoppen
Copy link
Member Author

ahoppen commented Nov 8, 2019

@swift-ci Please test

@ahoppen ahoppen merged commit 3d9b9d5 into swiftlang:master Nov 8, 2019
@ahoppen ahoppen deleted the split-syntax-rewriter branch November 8, 2019 19:41
adevress pushed a commit to adevress/swift-syntax that referenced this pull request Jan 14, 2024
Fix `@differentiable` attribute formatting.
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.

2 participants