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

Nicolas van Kempen via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 22 08:06:10 PDT 2024


nicovank wrote:

Got it, thanks! I'm somewhat familiar using InnerMatchers but didn't think that solution fit quite right here.

This new version I think is much better. Kept matcher construction in `registerMatchers`, added a little bit of logic in `check` to make sure some sizes match.

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


More information about the cfe-commits mailing list