[all-commits] [llvm/llvm-project] efebb4: [clang-tidy] readability-container-size-empty hand...
Piotr Zegar via All-commits
all-commits at lists.llvm.org
Thu Aug 31 12:57:19 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: efebb4e0fabe91b70eaf58c049e516e50c726893
https://github.com/llvm/llvm-project/commit/efebb4e0fabe91b70eaf58c049e516e50c726893
Author: Piotr Zegar <me at piotrzegar.pl>
Date: 2023-08-31 (Thu, 31 Aug 2023)
Changed paths:
M clang-tools-extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp
M clang-tools-extra/clang-tidy/readability/ContainerSizeEmptyCheck.h
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/checks/readability/container-size-empty.rst
M clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/string
M clang-tools-extra/test/clang-tidy/checkers/readability/container-size-empty.cpp
Log Message:
-----------
[clang-tidy] readability-container-size-empty handle std::string length()
Extends readability-container-size-empty to check std::string length() similar to size().
Fixes: #37603
Co-authored-by: Dmitry Venikov <quolyk at gmail.com>
Reviewed By: carlosgalvezp
Differential Revision: https://reviews.llvm.org/D56644
More information about the All-commits
mailing list