[clang-tools-extra] [clang-tidy][readability-container-contains] Extend to any class with contains (PR #107521)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 6 07:22:45 PDT 2024
================
@@ -116,7 +116,11 @@ Changes in existing checks
<clang-tidy/checks/modernize/use-std-print>` check to support replacing
member function calls too.
-- Improved :doc:`readablility-implicit-bool-conversion
+- Improved :doc:`readability-container-contains
+ <clang-tidy/checks/readability/container-contains>` check
+ to let it work on any class that has a `contains` method.
----------------
EugeneZelenko wrote:
```suggestion
to let it work on any class that has a ``contains`` method.
```
Language construct.
https://github.com/llvm/llvm-project/pull/107521
More information about the cfe-commits
mailing list