swiftlang / swift-driver

Swift compiler driver reimplementation in Swift
Apache License 2.0
795 stars 192 forks source link

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

Closed DmT021 closed 3 weeks ago

DmT021 commented 2 months ago

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 https://github.com/swiftlang/swift/pull/74466.

DmT021 commented 2 months ago

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

DougGregor commented 2 months ago

https://github.com/swiftlang/swift/pull/74466

@swift-ci please test

DougGregor commented 3 weeks ago

@swift-ci please test

DougGregor commented 3 weeks ago

@swift-ci please test Windows