[PATCH] 'size' call that could be replaced with 'empty' on STL containers

Gábor Horváth xazax.hun at gmail.com
Tue Jan 13 02:51:41 PST 2015


Thank you for the detailed review.

I think I fixed all of the issues you mentioned. In case I forgot something I will include it in the fix in the next version of the patch.


http://reviews.llvm.org/D6925

Files:
  clang-tidy/readability/CMakeLists.txt
  clang-tidy/readability/ContainerSizeEmpty.cpp
  clang-tidy/readability/ContainerSizeEmpty.h
  clang-tidy/readability/ReadabilityTidyModule.cpp
  test/clang-tidy/readibility-container-size-empty.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6925.18080.patch
Type: text/x-patch
Size: 13574 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150113/bed26915/attachment.bin>


More information about the cfe-commits mailing list