N-Dekker wrote:

A personal note: yes, I like clang-tidy's readibility-container-size-empty 
check, I think it's great! And I do very much prefer `empty()` over `size()` 
"whenever possible". It's just that I think the claims in the documentation 
about efficiency and time complexity are no longer valid.

https://github.com/llvm/llvm-project/pull/117629
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to