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 /include | |
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 'include')
-rw-r--r-- | include/clang/Lex/LiteralSupport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Lex/LiteralSupport.h b/include/clang/Lex/LiteralSupport.h index acfd174b63..2eb7751f3c 100644 --- a/include/clang/Lex/LiteralSupport.h +++ b/include/clang/Lex/LiteralSupport.h @@ -63,7 +63,7 @@ public: bool isLongLong; bool isFloat; // 1.0f bool isImaginary; // 1.0i - uint8_t MicrosoftInteger; // Microsoft suffix extension i8, i16, i32, or i64. + bool isMicrosoftInteger; // Microsoft suffix extension i8, i16, i32, or i64. bool isIntegerLiteral() const { return !saw_period && !saw_exponent; |