[clang-tools-extra] [clang-tidy] Extend `performance-faster-string-find` to handle ternary operator arguments (PR #187069)

Victor Chernyakin via cfe-commits cfe-commits at lists.llvm.org
Sun Mar 22 11:35:19 PDT 2026


================

----------------
localspook wrote:

We want to find cases like the following though, right?
```cpp
std::string s;
s += foo ? "0" : "1";
```

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


More information about the cfe-commits mailing list