[clang-tools-extra] [clang-tidy] Create a check for signed and unsigned integers comparison (PR #113144)

via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 19 07:23:20 PST 2024


================
@@ -0,0 +1,34 @@
+.. title:: clang-tidy - modernize-use-integer-sign-comparison
+
+modernize-use-integer-sign-comparison
+=====================================
+
+Replace comparisons between signed and unsigned integers with their safe
+C++20 ``std::cmp_*`` alternative, if available.
+
----------------
EugeneZelenko wrote:

Excessive new line.

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


More information about the cfe-commits mailing list