[clang-tools-extra] [clang-tidy] Improve integer comparison by matching valid expressions outside implicitCastExpr (PR #134188)

via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 3 08:10:10 PDT 2025


================
@@ -177,6 +177,10 @@ Changes in existing checks
   matched scenarios of ``find`` and ``rfind`` methods and fixing false
   positives when those methods were called with 3 arguments.
 
+- Improved :doc:`modernize-use-integer-sign-comparison
+  <clang-tidy/checks/modernize/use-integer-sign-comparison>` check by matching
+  valid integer expressions not directly wrapped around an Implicit Cast.
----------------
EugeneZelenko wrote:

```suggestion
  valid integer expressions not directly wrapped around an implicit cast.
```

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


More information about the cfe-commits mailing list