[clang-tools-extra] [clang-tidy] Add new performance-use-starts-ends-with check (PR #72385)
Nicolas van Kempen via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 28 04:05:59 PST 2023
nicovank wrote:
Ping. @carlosgalvezp could you please weigh in? modernize / performance? Anyone else?
I have no real preference either way. Now that modernize is fully integrated in Clang-Tidy, I don't think historical reasons should lead to modernize overbloat. If this check was only replacing `strncmp` with `starts_with` it would definitely belong in modernize, as-is it sits in-between.
https://github.com/llvm/llvm-project/pull/72385
More information about the cfe-commits
mailing list