Skip to content

[DiagnosticVerifier] More accurate wording when printing diagnostics from external sources #30557

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 3 commits into from
Apr 2, 2020

Conversation

owenv
Copy link
Contributor

@owenv owenv commented Mar 21, 2020

#30028 marked these diags as "produced by Clang", but they can also often be notes attached to diagnostics in the verified file which point out declarations elsewhere. Change the message intro to read, "diagnostic produced elsewhere:" to avoid confusion in those cases.

@owenv
Copy link
Contributor Author

owenv commented Mar 21, 2020

@swift-ci please smoke test

@owenv
Copy link
Contributor Author

owenv commented Mar 21, 2020

cc @martinboehme , @gribozavr

@owenv
Copy link
Contributor Author

owenv commented Apr 1, 2020

@swift-ci smoke test

@martinboehme
Copy link
Contributor

Sorry, completely missed this when you originally sent it.

The wording "diagnostic produced elsewhere" seems strangely vague, but I also can't think of a good alternative -- and this is definitely better than just assuming the diagnostic came from Clang.

@gribozavr gribozavr merged commit e94f01d into swiftlang:master Apr 2, 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.

3 participants