[cfe-commits] r168865 - /cfe/trunk/unittests/AST/StmtPrinterTest.cpp
NAKAMURA Takumi
geek4civic at gmail.com
Thu Nov 29 01:57:11 PST 2012
Author: chapuni
Date: Thu Nov 29 03:57:11 2012
New Revision: 168865
URL: http://llvm.org/viewvc/llvm-project?rev=168865&view=rev
Log:
ASTTests/StmtPrinterTest/StmtPrinter.TestMSIntegerLiteral: Suppress i128 according to r168856, for now.
I think "i128", that I conditioned out, could be completely removed.
MS Compiler doesn't accept i128. We can assume no one would use i128.
Modified:
cfe/trunk/unittests/AST/StmtPrinterTest.cpp
Modified: cfe/trunk/unittests/AST/StmtPrinterTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/AST/StmtPrinterTest.cpp?rev=168865&r1=168864&r2=168865&view=diff
==============================================================================
--- cfe/trunk/unittests/AST/StmtPrinterTest.cpp (original)
+++ cfe/trunk/unittests/AST/StmtPrinterTest.cpp Thu Nov 29 03:57:11 2012
@@ -146,17 +146,25 @@
" 1i8, -1i8, 1ui8, "
" 1i16, -1i16, 1ui16, "
" 1i32, -1i32, 1ui32, "
- " 1i64, -1i64, 1ui64, "
+ " 1i64, -1i64, 1ui64"
+#if defined(__SIZEOF_INT128__)
+ ", "
" 1i128, -1i128, 1ui128, 1Ui128,"
- " 0x10000000000000000i128;"
+ " 0x10000000000000000i128"
+#endif
+ ";"
"}",
"A",
"1 , -1 , 1U , "
"1 , -1 , 1U , "
"1L , -1L , 1UL , "
- "1LL , -1LL , 1ULL , "
+ "1LL , -1LL , 1ULL"
+#if defined(__SIZEOF_INT128__)
+ " , "
"1 , -1 , 1U , 1U , "
- "18446744073709551616i128"));
+ "18446744073709551616i128"
+#endif
+ ));
// Should be: with semicolon
// WRONG; all 128-bit literals should be printed as 128-bit.
// (This is because currently we do semantic analysis incorrectly.)
More information about the cfe-commits
mailing list