[clang-tidy] add check to suggest replacement of nested std::min or std::max...
[clang-tidy] add check to suggest replacement of nested std::min or std::max with initializer lists (#85572) Identifies cases where `std::min` or `std::max` is used to find the minimum or maximum value among more than two items through repeated calls. The check replaces these calls with a single call to `std::min` or `std::max` that uses an initializer list. This makes the code slightly more efficient. Closes #25340
parent
0f329e02