Skip to content

[Diagnostics] Support for all the flags of the warning treating group #1678

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
Sep 9, 2024

Conversation

DmT021
Copy link
Contributor

@DmT021 DmT021 commented Aug 3, 2024

This commit adds support for the warning treating option group, including the following options: -warnings-as-errors, -no-warnings-as-errors, -warning-as-error, and -no-warning-as-error.
Options in this group are now preserved as-is. It is forbidden to reorder or drop any of them.
These changes reflect the modifications made to the frontend in swiftlang/swift#74466.

@DmT021
Copy link
Contributor Author

DmT021 commented Aug 3, 2024

@DougGregor Can you review this as well? There's no CODEOWNERS file and github doesn't allow me to assign anyone.

@DougGregor
Copy link
Member

swiftlang/swift#74466

@swift-ci please test

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.

This change looks good to me; holding off on officially approving per the pending Language Steering Group discussion.

This commit adds support for the warning treating option group, including the following options: -warnings-as-errors, -no-warnings-as-errors, -Werror, and -Wwarning.
Options in this group are now preserved as-is. It is forbidden to reorder or drop any of them.
These changes reflect the modifications made to the frontend in swiftlang/swift#74466.
@DmT021 DmT021 force-pushed the wp/warning_treating_group branch from d6f48ef to b4fcea8 Compare September 7, 2024 17:38
@DougGregor
Copy link
Member

@swift-ci please test

@DougGregor
Copy link
Member

@swift-ci please test Windows

@DougGregor DougGregor merged commit f470800 into swiftlang:main Sep 9, 2024
3 checks passed
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