Skip to content

Remove Frontend Parseable Output code#89464

Draft
artemcm wants to merge 2 commits into
swiftlang:mainfrom
artemcm:NoMoreParse
Draft

Remove Frontend Parseable Output code#89464
artemcm wants to merge 2 commits into
swiftlang:mainfrom
artemcm:NoMoreParse

Conversation

@artemcm

@artemcm artemcm commented May 27, 2026

Copy link
Copy Markdown
Contributor

This was a temporary measure to support Swift Build, which is no longer necessary as of swiftlang/swift-build#1050.

@artemcm

artemcm commented May 27, 2026

Copy link
Copy Markdown
Contributor Author

@swift-ci test

artemcm added 2 commits May 28, 2026 15:32
This was a temporary measure to support Swift Build, which is no longer necessary as of swiftlang/swift-build#1050.
With frontend parseable-output removed, `DiagnosticHelper::initDiagnosticConsumers()` depends only on the parsed `CompilerInvocation` and can be invoked once, at the same site that constructs the helper. Move the `libSwiftScan` replay caller to call it immediately after `DiagnosticHelper::create()`, drop the call from `replayCachedCompilerOutputsImpl`, and remove the now-unused `DiagnosticHelper` parameter from both `replayCachedCompilerOutputsImpl` and the public `replayCachedCompilerOutputsForInput`.
@artemcm

artemcm commented May 28, 2026

Copy link
Copy Markdown
Contributor Author

1 similar comment
@artemcm

artemcm commented May 28, 2026

Copy link
Copy Markdown
Contributor Author

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