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

Eugene Zelenko via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 8 13:20:33 PDT 2016


Eugene.Zelenko added a comment.

If size() and empty() change object's state, it may be not equivalent replacement.


Repository:
  rL LLVM

https://reviews.llvm.org/D24349





More information about the cfe-commits mailing list