PiotrZSL wrote:

_"I am slowly looking into adding an option to this check to recommend C++20's 
API starts_with, and move it to modernize.
Possibly would like to use it as a codemod on our code."_

Actually best would be to copy this check to performance-use-starts_with (or 
modernize) or something like this, and restrict it to C++20, and this check 
restrict to !C++20., But similar case is with ends_with.

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

Reply via email to