[clang-tools-extra] Add clang-tidy check to suggest replacement of conditional statement with std::min/std::max (PR #77816)

Bhuminjay Soni via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 13 08:05:49 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, 
----------------
11happy wrote:

Oh sorry I misunderstood it to keep that in 80 words limit total, but got it now its 80 characters for each line am I right?

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


More information about the cfe-commits mailing list