[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
Tue Sep 13 01:57:52 PDT 2016


omtcyfz updated this revision to Diff 71119.
omtcyfz marked an inline comment as done.
omtcyfz added a comment.

Combine two `returns` matchers.


https://reviews.llvm.org/D24349

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24349.71119.patch
Type: text/x-patch
Size: 10213 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160913/8127efba/attachment-0001.bin>


More information about the cfe-commits mailing list