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

[clang-tidy] readability-container-size-empty handle std::string length() #14

Closed
wants to merge 1 commit into from

Conversation

smeenai
Copy link
Owner

@smeenai smeenai commented Sep 1, 2023

Extends readability-container-size-empty to check std::string length() similar to size().

Fixes: llvm#37603

Co-authored-by: Dmitry Venikov [email protected]

Reviewed By: carlosgalvezp

Differential Revision: https://reviews.llvm.org/D56644


Stack:

⚠️ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.

…th()

Extends readability-container-size-empty to check std::string length() similar to size().

Fixes: llvm#37603

Co-authored-by: Dmitry Venikov <[email protected]>

Reviewed By: carlosgalvezp

Differential Revision: https://reviews.llvm.org/D56644

commit-id:56527293
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants