https://github.com/vbvictor created 
https://github.com/llvm/llvm-project/pull/196873

Should fix 
https://github.com/llvm/llvm-project/pull/191386#issuecomment-4408294981.

>From c300ee4d033009b9100359dd10201346ec7e873a Mon Sep 17 00:00:00 2001
From: Victor Baranov <[email protected]>
Date: Mon, 11 May 2026 07:56:08 +0300
Subject: [PATCH] [clang-tidy][NFC] Fix tests on 32bit ARM

---
 .../test/clang-tidy/checkers/readability/redundant-casting.cpp  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/clang-tools-extra/test/clang-tidy/checkers/readability/redundant-casting.cpp 
b/clang-tools-extra/test/clang-tidy/checkers/readability/redundant-casting.cpp
index 13be4192f49d1..6ce2b026fbcce 100644
--- 
a/clang-tools-extra/test/clang-tidy/checkers/readability/redundant-casting.cpp
+++ 
b/clang-tools-extra/test/clang-tidy/checkers/readability/redundant-casting.cpp
@@ -196,7 +196,7 @@ void testBinaryOperatorRedundantCasting() {
   const auto diff_types_operands4 {
     static_cast<size_t>(static_cast<size_t>(3) + 2)
   };
-  // CHECK-MESSAGES: :[[@LINE-2]]:5: warning: redundant explicit casting to 
the same type 'size_t' (aka 'unsigned long{{( long)?}}') as the sub-expression, 
remove this casting [readability-redundant-casting]
+  // CHECK-MESSAGES: :[[@LINE-2]]:5: warning: redundant explicit casting to 
the same type 'size_t' (aka 'unsigned {{(int|long( long)?)}}') as the 
sub-expression, remove this casting [readability-redundant-casting]
   // CHECK-FIXES: (static_cast<size_t>(3) + 2)
   // CHECK-FIXES-IMPLICIT: static_cast<size_t>(static_cast<size_t>(3) + 2)
 

_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to