[clang-tools-extra] [clang-tidy] Enhance modernize-use-starts-ends-with to handle substr patterns (PR #116033)

Helmut Januschka via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 14 12:52:55 PST 2024


https://github.com/hjanuschka commented:

@EugeneZelenko @nicovank 
thank you for your feedback, addressed what's possible.

* added tests
* release notes
* various const's

@nicovank about your suggestion, played around few hours with it, but could make a sense out of it, that was initially the reason why i started it as a standalone new check.


also, is it "ok" to change existing tidy's? like people opted in for one, and that changes now without them knowing?


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


More information about the cfe-commits mailing list