Skip to content

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
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