commit | a3ceffa9c0c4c69ac9a518621700f781b6e1de66 | [log] [tgz] |
---|---|---|
author | Nicolas van Kempen <nvankemp@gmail.com> | Sat Sep 20 15:28:32 2025 -0400 |
committer | Copybara-Service <copybara-worker@google.com> | Sat Sep 20 12:31:02 2025 -0700 |
tree | 5c178b292896fcfff695c61265068530f980ff1a | |
parent | 41e77d4baba0ff61e3f0c50b2eff6d6b1f9fe4c0 [diff] |
[clang-tidy] Support find for string-like classes in readability-container-contains (#157243) Fix #109327. Small parts taken from #110351. Removed the type checking between `contains` and `count`/`find` arguments for simplicity. Because of overloads, this type-checking is tricky. The same strategy is used in `modernize-use-starts-ends-with`. Co-authored-by: dl8sd11 <gcchen@google.com> GitOrigin-RevId: 5c21b1b6dcc808795d1596ea2e29f94314488026