[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
Mon Sep 12 03:15:07 PDT 2016


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

Messed up with the last diff; fix that + clang-format the check.


https://reviews.llvm.org/D24349

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24349.70989.patch
Type: text/x-patch
Size: 10931 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160912/24b3db00/attachment.bin>


More information about the cfe-commits mailing list