-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[Localization] Make the serialization tool print the removed diagnostics #33337
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
[Localization] Make the serialization tool print the removed diagnostics #33337
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a couple of comments inline and this PR needs tests to make sure that swift-serialize-diagnostics behaves as expected.
tools/swift-serialize-diagnostics/swift-serialize-diagnostics.cpp
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great now! Final set of changes are we are ready to go.
6941ee9
to
a3b8014
Compare
I squashed all of the commits, I think it's ready now! :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thank you!
@swift-ci please test |
@swift-ci please test source compatibility |
Windows failure is related to #33381 |
@swift-ci please smoke test Windows platform |
In this PR, I created a vector in
swift::diag
that will keep track of the diagnostic IDs that got removed from.def
and still available in YAML. Then in theswift-serialize-diagnostics
I'm printing out all of the removed diagnostic IDs.cc @xedin