diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-21 12:39:25 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-21 12:39:25 +0000 |
| commit | f533fd477a50467a0d96293d116f4059aa806b65 (patch) | |
| tree | f8671d6df2189af0e1830c382f5cb7f0d7504ef4 /unittests | |
| parent | d31bc8bc756b3734c79e3748627938ce25b8f30c (diff) | |
| download | clang-f533fd477a50467a0d96293d116f4059aa806b65.tar.gz clang-f533fd477a50467a0d96293d116f4059aa806b65.tar.bz2 clang-f533fd477a50467a0d96293d116f4059aa806b65.tar.xz | |
Revert "Lex: Use the correct types for MS integer suffixes"
This reverts commit r211426.
This broke the arm bots. The crash can be reproduced on X86 by running.
./bin/clang -cc1 -fsyntax-only -verify -fms-extensions ~/llvm/clang/test/Lexer/ms-extensions.c -triple arm-linux
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211434 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
| -rw-r--r-- | unittests/AST/StmtPrinterTest.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/unittests/AST/StmtPrinterTest.cpp b/unittests/AST/StmtPrinterTest.cpp index 541fb3df1d..c75cbdefbf 100644 --- a/unittests/AST/StmtPrinterTest.cpp +++ b/unittests/AST/StmtPrinterTest.cpp @@ -134,8 +134,6 @@ PrintedStmtCXX11Matches(StringRef Code, const StatementMatcher &NodeMatch, StringRef ContainingFunction, StringRef ExpectedPrinted) { std::vector<std::string> Args; - Args.push_back("-target"); - Args.push_back("i686-pc-win32"); Args.push_back("-std=c++98"); Args.push_back("-fms-extensions"); Args.push_back("-Wno-unused-value"); @@ -171,9 +169,9 @@ TEST(StmtPrinter, TestMSIntegerLiteral) { " 1i64, -1i64, 1ui64;" "}", "A", - "1i8 , -1i8 , 1Ui8 , " - "1i16 , -1i16 , 1Ui16 , " "1 , -1 , 1U , " + "1 , -1 , 1U , " + "1L , -1L , 1UL , " "1LL , -1LL , 1ULL")); // Should be: with semicolon } |
