[clang-tools-extra] Add clang-tidy check to suggest replacement of conditional statement with std::min/std::max (PR #77816)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Jan 13 07:18:29 PST 2024
================
@@ -0,0 +1,33 @@
+.. 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,
----------------
EugeneZelenko wrote:
Line is still longer than 79 characters. Same below.
https://github.com/llvm/llvm-project/pull/77816
More information about the cfe-commits
mailing list