================
@@ -129,13 +129,30 @@ New checks
   Finds cases when an uninstantiated virtual member function in a template 
class 
   causes cross-compiler incompatibility.
 
+- New :doc:`modernize-use-integer-sign-comparison
+  <clang-tidy/checks/modernize/use-integer-sign-comparison>` check.
+
+  Performs comparisons between signed and unsigned integer types
+  mathematically correct. If C++20 is supported a fix-it replaces
+  integers comparisons to
+  std::cmp_{equal,not_equal,{less,greater}{,_equal}} functions.
----------------
EugeneZelenko wrote:

```suggestion
  ``std::cmp_{equal,not_equal,{less,greater}{,_equal}}`` functions.
```

Or better just to list functions.

https://github.com/llvm/llvm-project/pull/113144
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to