[clang-tools-extra] [clang-tidy][NFC] Enable `readability-container-contains` check in clang-tidy config and apply fix-its (PR #157123)

Nicolas van Kempen via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 5 10:09:47 PDT 2025


nicovank wrote:

Note that this check currently has false negatives on strings. https://github.com/llvm/llvm-project/issues/109327
https://github.com/llvm/llvm-project/pull/110351 was a first PR trying to tackle this. I was planning to take it over soon but haven't gotten around to it. IMO the type checking in this check should just be removed for simplicity, as in `use-starts-ends-with`.


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


More information about the cfe-commits mailing list