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

Daniil Dudkin via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 4 01:31:08 PDT 2026


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

Is it better to specify the target in the RUN directive or put this test under ifdef?

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


More information about the cfe-commits mailing list