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

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 8 13:00:31 PDT 2016


aaron.ballman added a comment.

In https://reviews.llvm.org/D24349#537549, @Eugene.Zelenko wrote:

> Should we also check for absence of parameters in size() and empty() as well as const?


I think that would be reasonable.


https://reviews.llvm.org/D24349





More information about the cfe-commits mailing list