Skip to content

Generate BuildableBaseProtocols with SwiftSyntaxBuilderGeneration #498

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 2 commits into from
Jul 18, 2022

Conversation

fwcd
Copy link
Member

@fwcd fwcd commented Jul 11, 2022

Based on #497.

This PR ports the currently gyb-generated BuildableBaseProtocols to SwiftSyntaxBuilder's DSL as part of the ongoing effort to bootstrap SwiftSyntaxBuilder with SwiftSyntaxBuilderGeneration.

@fwcd fwcd force-pushed the buildable-base-protocols-swift-syntax-gen branch from acc5861 to b9bd02b Compare July 12, 2022 18:42
@fwcd fwcd marked this pull request as ready for review July 12, 2022 18:42
@fwcd fwcd requested a review from ahoppen as a code owner July 12, 2022 18:42
@fwcd
Copy link
Member Author

fwcd commented Jul 12, 2022

@swift-ci please test

@fwcd fwcd force-pushed the buildable-base-protocols-swift-syntax-gen branch from b9bd02b to f5ccbf1 Compare July 14, 2022 11:46
@fwcd
Copy link
Member Author

fwcd commented Jul 14, 2022

@swift-ci please test

@fwcd fwcd force-pushed the buildable-base-protocols-swift-syntax-gen branch from f5ccbf1 to c5e3d3f Compare July 14, 2022 15:18
@fwcd
Copy link
Member Author

fwcd commented Jul 14, 2022

@swift-ci please test

fwcd added 2 commits July 17, 2022 20:46
- Stub out BuildableBaseProtocolsFile
- Generate buildable protocols too
- Generate default implementations in BuildableBaseProtocols
- Generate rest of BuildableBaseProtocols
- Remove gyb-generated BuildableBaseProtocols
@fwcd fwcd force-pushed the buildable-base-protocols-swift-syntax-gen branch from c5e3d3f to 2e9dc11 Compare July 17, 2022 18:46
@fwcd
Copy link
Member Author

fwcd commented Jul 17, 2022

@swift-ci please test

@fwcd fwcd merged commit 00e010a into swiftlang:main Jul 18, 2022
@fwcd fwcd deleted the buildable-base-protocols-swift-syntax-gen branch July 18, 2022 10:12
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