Optional support for round-trip testing the new Swift parser.#60888
Merged
DougGregor merged 4 commits intoswiftlang:mainfrom Sep 2, 2022
Merged
Optional support for round-trip testing the new Swift parser.#60888DougGregor merged 4 commits intoswiftlang:mainfrom
DougGregor merged 4 commits intoswiftlang:mainfrom
Conversation
Member
Author
|
@swift-ci please test |
Member
Author
|
@swift-ci please smoke test |
When enabled, compile in support for round-trip testing the new
SwiftSyntax-provided Swift parser alongside the existing parser. Right
now, this means parsing every source file with the new parser and
ensuring that the resulting syntax tree can reproduce the input source
precisely. Over time, this is expected to grow.
Opt in to this behavior by passing the following to build-script:
build-script --early-swiftsyntax --extra-cmake-options=-DSWIFT_SWIFT_PARSER_MODE:STRING=ROUNDTRIP
Replace the correct Swift -> EarlySwiftSyntax dependency with an EarlySwiftDriver -> EarlySwiftSyntax dependency, to keep a linear dependency order in this part of the build graph.
979e852 to
3f9f16f
Compare
Member
Author
|
@swift-ci please smoke test |
Member
Author
|
@swift-ci please smoke test |
Member
Author
|
This cannot possibly be related: |
Member
Author
|
@swift-ci please smoke test macOS |
Closed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When enabled, compile in support for round-trip testing the new
SwiftSyntax-provided Swift parser alongside the existing parser. Right
now, this means parsing every source file with the new parser and
ensuring that the resulting syntax tree can reproduce the input source
precisely. Over time, this is expected to grow.
Opt in to this behavior by passing the following to build-script: