[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 10:40:46 PDT 2016
Eugene.Zelenko added a comment.
Probably check should have options to extend list of containers and also to assume all classes with integer type size() const and bool empty() const as containers. It may be not trivial to find out all custom containers and last option will be helpful to assemble such list.
More information about the cfe-commits