[clang-tools-extra] [clang-tidy] add check to suggest replacement of nested std::min or std::max with initializer lists (PR #85572)

Julian Schmidt via cfe-commits cfe-commits at lists.llvm.org
Sat Mar 30 10:14:24 PDT 2024


https://github.com/5chmidti requested changes to this pull request.

I've added a comment about the string parsing and comments in `generateReplacement` on how to do this in a better way, which should help you.
Also, if-statements with a single statement branches should not have braces.

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


More information about the cfe-commits mailing list