================ @@ -224,6 +224,12 @@ New checks Recommends the smallest possible underlying type for an ``enum`` or ``enum`` class based on the range of its enumerators. +- New :doc:`readability-use-std-min-max + <clang-tidy/checks/readability/use-std-min-max>` check. + + Replaces certain conditional statements with equivalent ``std::min`` or + ``std::max`` expressions. + ---------------- 5chmidti wrote:
Please move this after the other newly added `readability` checks so that the list is sorted alphabetically. https://github.com/llvm/llvm-project/pull/77816 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits