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 | d46e4a230344c78160f8c08431dfe19d3e6582ce (patch) | |
| tree | 1084286869de3c535eca31387ecf1b3250b4236c /clang/unittests/AST | |
| parent | 8dd637aa04067837056633aedd3d15e0af4f2685 (diff) | |
| download | bcm5719-llvm-d46e4a230344c78160f8c08431dfe19d3e6582ce.tar.gz bcm5719-llvm-d46e4a230344c78160f8c08431dfe19d3e6582ce.zip | |
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
llvm-svn: 211434
Diffstat (limited to 'clang/unittests/AST')
| -rw-r--r-- | clang/unittests/AST/StmtPrinterTest.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/clang/unittests/AST/StmtPrinterTest.cpp b/clang/unittests/AST/StmtPrinterTest.cpp index 541fb3df1d9..c75cbdefbf2 100644 --- a/clang/unittests/AST/StmtPrinterTest.cpp +++ b/clang/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 } |

