Skip to content
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

Firestore: Remove obsolete NOLINT comments #14347

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

dconeybe
Copy link
Contributor

This PR removes NOLINT comments from the code base that are obsolete as of #14320, which deleted obsolete c++11 and c++14 lint checks.

#no-changelog

@dconeybe dconeybe self-assigned this Jan 14, 2025
@dconeybe dconeybe force-pushed the dconeybe/CppLintRemoveObsoleteNoLintComments branch from 96fd28a to 605d689 Compare January 15, 2025 03:58
@dconeybe dconeybe marked this pull request as ready for review January 17, 2025 15:34
@@ -283,7 +280,6 @@
'build/include_order',
'build/include_what_you_use',
'build/namespaces_headers',
'build/namespaces_literals',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you tell me why choose to remove 'build/namespaces_literals amd build/c++14 and build/c++tr1?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed build/namespaces_literals, build/c++14, and build/c++tr1 because there are no more lint checks in cpplint.py that produce warnings in those categories and all mentions of those categories in "NOLINT" comments have been removed from the source code. So leaving them around is kind of like leaving "dead code", IMO.

@dconeybe dconeybe requested a review from cherylEnkidu January 17, 2025 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants