-
Notifications
You must be signed in to change notification settings - Fork 765
rsz: sort the dont-use report for stability and enable test in bzl #9168
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
rsz: sort the dont-use report for stability and enable test in bzl #9168
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.
Code Review
This pull request introduces a natural sort helper function to provide stable output for the dont-use report and enables several tests in Bazel. The changes look good, especially the move to stabilize test outputs. I have one suggestion to improve the robustness of the new natural_compare function by using a more modern and safer C++ function for string-to-number conversion.
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.
clang-tidy made some suggestions
d725472 to
9906991
Compare
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.
clang-tidy made some suggestions
Enable these three tests in bazel: - "liberty_dont_use" - "report_dont_use" - "report_dont_use_corners" A sort helper is introduced in utl. Signed-off-by: Matt Liberty <[email protected]>
9906991 to
e70a6e0
Compare
|
clang-tidy review says "All clean, LGTM! 👍" |
Enable these three tests in bazel:
A sort helper is introduced in utl.