Skip to content

[libSyntax] Make SyntaxFactory methods instance methods #36233

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
Mar 4, 2021

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Mar 2, 2021

This saves us from passing in the SyntaxArena every time a new node is created.

As discussed here.

@ahoppen ahoppen force-pushed the pr/syntax-factory-instance branch from a0a0e16 to 9cb0303 Compare March 3, 2021 10:02
@ahoppen ahoppen marked this pull request as ready for review March 3, 2021 10:02
@ahoppen ahoppen requested a review from harlanhaskins March 3, 2021 10:02
This saves us from passing in the SyntaxArena every time a new node is
created.
@ahoppen ahoppen force-pushed the pr/syntax-factory-instance branch from 9cb0303 to 73cece2 Compare March 3, 2021 10:03
@ahoppen
Copy link
Member Author

ahoppen commented Mar 3, 2021

@swift-ci Please smoke test

@ahoppen ahoppen merged commit ffaf867 into swiftlang:main Mar 4, 2021
@ahoppen ahoppen deleted the pr/syntax-factory-instance branch March 4, 2021 06:30
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.

3 participants