-
Notifications
You must be signed in to change notification settings - Fork 16k
Fix warnings raised by clang 11 #8664
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
Conversation
5ef3e79 to
a6d4ed6
Compare
a6d4ed6 to
570fa1b
Compare
acozzette
left a comment
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.
Thanks for the cleanup! Looks good to me except for a few more small comments I made.
acozzette
left a comment
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.
Sorry but I added just two more things I might missed before, otherwise looks great.
This fixes a few kinds of warnings: - inconsistent-missing-override when the overriding site is missing the override keyword - unused-function when a function is neither visible nor used - unused-private-field when a private field exists but is never used - sign-compare when unsigned ints are compared to signed ints. Not all of those have been addressed, but this warning isn't enabled by default. This fixes protocolbuffers#8612.
467dd6d to
3ddcaca
Compare
|
I just addressed the last comments and rebased on |
This fixes a few kinds of warnings:
override keyword
of those have been addressed, but this warning isn't enabled by
default.
This fixes #8580, fixes #8612.