[PATCH] D24349: [clang-tidy] Extend readability-container-size-empty to arbitrary class with size() and empty()

Kirill Bobyrev via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 8 10:00:12 PDT 2016


omtcyfz updated this revision to Diff 70717.
omtcyfz added a comment.

Blacklist `enum` and `bool` return types for `size()`.


https://reviews.llvm.org/D24349

Files:
  clang-tidy/readability/ContainerSizeEmptyCheck.cpp
  test/clang-tidy/readability-container-size-empty.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24349.70717.patch
Type: text/x-patch
Size: 6531 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160908/9c2e60ec/attachment.bin>


More information about the cfe-commits mailing list