[clang-tools-extra] [clang-tidy][modernize-use-starts-ends-with] Add support for compare() (PR #89530)

Piotr Zegar via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 21 07:39:56 PDT 2024


https://github.com/PiotrZSL approved this pull request.

Looks +- fine, I just worry a little bit about performance.
But as "HasStringAndLengthArguments" will be executed only for an compare methods, then probably it could be fine.

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


More information about the cfe-commits mailing list