Skip to content

Add option to suppress emission of remarks ('-suppress-remarks') #61762

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 31, 2022

Conversation

artemcm
Copy link
Contributor

@artemcm artemcm commented Oct 27, 2022

And enforce it especially in downstream contexts such as building interfaces of SDK dependencies, where the remarks are not actionable by the user.

@artemcm artemcm force-pushed the SuppressRemarkableDiagnostics branch from 24467c2 to 92cfbe0 Compare October 27, 2022 16:15
@artemcm artemcm marked this pull request as ready for review October 27, 2022 16:15
@artemcm artemcm changed the title [WIP] Add option to suppress emission of remarks ('-suppress-remarks') Add option to suppress emission of remarks ('-suppress-remarks') Oct 27, 2022
@artemcm
Copy link
Contributor Author

artemcm commented Oct 27, 2022

I think it is probably worth it to emit a warning if both this and various -R... options are specified, but I think that's better done in the driver.

@artemcm
Copy link
Contributor Author

artemcm commented Oct 27, 2022

@swift-ci test

And enforce it especially in downstream contexts such as building interfaces of SDK dependencies, where the remarks are not actionable by the user.
@artemcm artemcm force-pushed the SuppressRemarkableDiagnostics branch from 92cfbe0 to c51efbe Compare October 28, 2022 17:49
@artemcm
Copy link
Contributor Author

artemcm commented Oct 28, 2022

@swift-ci test

@artemcm
Copy link
Contributor Author

artemcm commented Oct 28, 2022

@swift-ci test macOS platform

1 similar comment
@artemcm
Copy link
Contributor Author

artemcm commented Oct 28, 2022

@swift-ci test macOS platform

@artemcm artemcm merged commit 89c032c into swiftlang:main Oct 31, 2022
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