[clang-tools-extra] [clang-tidy] avoid 64-bit truncation in redundant bitwise checks (PR #201363)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 4 01:29:33 PDT 2026


================
@@ -572,6 +572,51 @@ int TestBitwise(int X, int Y) {
   return 0;
 }
 
+bool TestBitwiseUInt128(unsigned __int128 Value) {
+  constexpr unsigned __int128 BigBit =
----------------
vbvictor wrote:

yes, this can probably break on 32bit buildbots

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


More information about the cfe-commits mailing list