firewave wrote:

> Any thoughts on open-ended check name instead? `modernize-string-find-affix` 
> (affix = prefix | suffix)?

`modernize-string-startswith-endswith` is the first what popped into my head 
but it would not have been my first choice.

Would this also be the check you would implement the suggested use of 
`contains()` in?

https://github.com/llvm/llvm-project/pull/72385
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to