[clang-tools-extra] [clang-tidy] Speed up `readability-container-contains` (PR #175121)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 10 18:00:29 PST 2026


vbvictor wrote:

We changed AS-IS to IgnoreUnless.. but there are no tests with template functions:

```cpp
template <typename T, U>
void foo(map<T, U> m) {
  m.size() = ...
}
```

Can we add them? (I think we should add them before your change and then see if everything still pass)

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


More information about the cfe-commits mailing list