[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
Fri Jan 12 07:31:23 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:
Please follow 80-characters limit.
https://github.com/llvm/llvm-project/pull/77816
More information about the cfe-commits
mailing list