Skip to content

[Diagnostics] Add -diagnostic-style=(llvm|swift) to control printed output #32017

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
May 28, 2020

Conversation

owenv
Copy link
Contributor

@owenv owenv commented May 26, 2020

This default formatting style remains the same, "LLVM style". "Swift style"
is what was previously enabled via -enable-experimental-diagnostic-formatting

#31213 has some screenshots of the new style. I'm not making it the default because I want to gather some feedback from real-world use first.

…utput

This default formatting style remains the same "LLVM style". "Swift style"
is what was previously enabled via -enable-experimental-diagnostic-formatting
@owenv
Copy link
Contributor Author

owenv commented May 26, 2020

@swift-ci smoke test

@owenv owenv requested review from hborla, xedin and CodaFi May 26, 2020 14:54
@owenv
Copy link
Contributor Author

owenv commented May 26, 2020

Because the new style isn't the default this isn't a huge change, but it could potentially impact editors that parse the old style, so let me know if any of you have concerns about making it generally available. Once this lands I'm going to post on the forums and see if anyone has strong opinions about the design after trying it out.

@owenv owenv merged commit e40e86f into swiftlang:master May 28, 2020
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