[clang-tools-extra] [clang-tidy][readability-container-contains] Use hasOperands when possible (PR #109178)

via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 19 07:20:55 PDT 2024


================
@@ -167,7 +167,8 @@ Changes in existing checks
 
 - Improved :doc:`readability-container-contains
   <clang-tidy/checks/readability/container-contains>` check to let it work on
-  any class that has a ``contains`` method.
+  any class that has a ``contains`` method. Also now match previously missing
----------------
EugeneZelenko wrote:

I don't think that second sentence is necessary. Original enhancement was introduced in same release.

https://github.com/llvm/llvm-project/pull/109178


More information about the cfe-commits mailing list