Author: Paweł Bylica
Date: 2023-07-18T15:40:28+02:00
New Revision: 73245359847da385182dd3b3b2168e246a69a276
URL:
https://github.com/llvm/llvm-project/commit/73245359847da385182dd3b3b2168e246a69a276
DIFF:
https://github.com/llvm/llvm-project/commit/73245359847da385182dd3b3b2168e246a69a276.diff
LOG: [clang][NFC] Fix typos in sema builtins test
Added:
Modified:
clang/test/Sema/constant-builtins-2.c
Removed:
diff --git a/clang/test/Sema/constant-builtins-2.c
b/clang/test/Sema/constant-builtins-2.c
index 1f4d1d3c23ade5..93948201c451b4 100644
--- a/clang/test/Sema/constant-builtins-2.c
+++ b/clang/test/Sema/constant-builtins-2.c
@@ -217,13 +217,13 @@ char
bitreverse4[__builtin_bitreverse64(0x0123456789ABCDEFULL) == 0xF7B3D591E6A2
char rotateleft1[__builtin_rotateleft8(0x01, 5) == 0x20 ? 1 : -1];
char rotateleft2[__builtin_rotateleft16(0x3210, 11) == 0x8190 ? 1 : -1];
-char rotateleft2[__builtin_rotateleft32(0x76543210, 22) == 0x841D950C ? 1 :
-1];
-char rotateleft2[__builtin_rotateleft64(0xFEDCBA9876543210ULL, 55) ==
0x87F6E5D4C3B2A19ULL ? 1 : -1];
+char rotateleft3[__builtin_rotateleft32(0x76543210, 22) == 0x841D950C ? 1 :
-1];
+char rotateleft4[__builtin_rotateleft64(0xFEDCBA9876543210ULL, 55) ==
0x87F6E5D4C3B2A19ULL ? 1 : -1];
char rotateright1[__builtin_rotateright8(0x01, 5) == 0x08 ? 1 : -1];
char rotateright2[__builtin_rotateright16(0x3210, 11) == 0x4206 ? 1 : -1];
-char rotateright2[__builtin_rotateright32(0x76543210, 22) == 0x50C841D9 ? 1 :
-1];
-char rotateright2[__builtin_rotateright64(0xFEDCBA9876543210ULL, 55) ==
0xB97530ECA86421FDULL ? 1 : -1];
+char rotateright3[__builtin_rotateright32(0x76543210, 22) == 0x50C841D9 ? 1 :
-1];
+char rotateright4[__builtin_rotateright64(0xFEDCBA9876543210ULL, 55) ==
0xB97530ECA86421FDULL ? 1 : -1];
char ffs1[__builtin_ffs(0) == 0 ? 1 : -1];
char ffs2[__builtin_ffs(1) == 1 ? 1 : -1];
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits