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

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Tue May 27 21:50:53 PDT 2025


================
@@ -121,3 +121,29 @@ int AllComparisons() {
 
     return 0;
 }
+
+namespace PR127471 {
+    int getSignedValue();
----------------
vbvictor wrote:

Can we add a test with a member function call (like in description of the PR)

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


More information about the cfe-commits mailing list