================ @@ -0,0 +1,32 @@ +.. title:: clang-tidy - readability-use-std-min-max + +readability-use-std-min-max +=========================== + +Replaces certain conditional statements with equivalent ``std::min`` or +``std::max`` expressions. Note: This may impact +performance in critical code due to potential additional stores compared +to the original if statement. + + +Examples: ---------------- PiotrZSL wrote:
Not needed, remove duplicated empty line and 'Examples:', Before and after should be fine 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