Skip to content

[Sema] Move predates concurrency remarks to warnings #69417

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
Oct 26, 2023

Conversation

bnbarham
Copy link
Contributor

Remarks are intended to be enabled via eg. -R..., where as (add|remove)_predates_concurrency_import is a diagnostic that's always output without any -R flag. Move it to a warning instead.

Resolves rdar://114207080.

Remarks are intended to be enabled via eg. `-R...`, where as
`(add|remove)_predates_concurrency_import` is a diagnostic that's always
output without any `-R` flag. Move it to a warning instead.

Resolves rdar://114207080.
@@ -1,15 +0,0 @@
// RUN: %empty-directory(%t)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm unsure what we actually want to do here. There's not really any other remark that would make sense to check here, but then that makes me wonder if -suppress-remarks makes sense as an option anyway.

@bnbarham
Copy link
Contributor Author

@swift-ci please test

@bnbarham bnbarham requested a review from DougGregor October 26, 2023 17:31
Copy link
Member

@DougGregor DougGregor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@bnbarham bnbarham merged commit 6ff69a0 into swiftlang:main Oct 26, 2023
@bnbarham bnbarham deleted the remark-to-warning branch October 26, 2023 20: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