[clang-tools-extra] [clang-tidy] Support find for string-like classes in readability-container-contains (PR #157243)

Nicolas van Kempen via cfe-commits cfe-commits at lists.llvm.org
Sat Sep 6 07:42:12 PDT 2025


================
@@ -230,6 +230,10 @@ Changes in existing checks
   <clang-tidy/checks/portability/template-virtual-member-function>` check to
   avoid false positives on pure virtual member functions.
 
+- Fixed false negatives on string and string-like types in
----------------
nicovank wrote:

Sure. Was there official guidelines for this? It wasn't the case [up to the 17 release](https://releases.llvm.org/17.0.1/tools/clang/tools/extra/docs/ReleaseNotes.html).
Since then this became the default (everyone copy-pasting other entries?). I feel like "Improved" is not always the best verb to express the change.

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


More information about the cfe-commits mailing list