diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2014-06-21 18:46:07 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2014-06-21 18:46:07 +0000 |
| commit | 52ce795128022a5350050f7b8cd76cf56227c8ca (patch) | |
| tree | 6b19d7d8cb644dc5c3970281280174aa84dd8fad /include | |
| parent | e26b3797f8baf47892aafd9d06fac8cc6235dafc (diff) | |
| download | clang-52ce795128022a5350050f7b8cd76cf56227c8ca.tar.gz clang-52ce795128022a5350050f7b8cd76cf56227c8ca.tar.bz2 clang-52ce795128022a5350050f7b8cd76cf56227c8ca.tar.xz | |
Lex: Use the correct types for MS integer suffixes
Something went wrong with r211426, it is an older version of this code
and should not have been committed. It was reverted with r211434.
Original commit message:
We didn't properly implement support for the sized integer suffixes.
Suffixes like i16 were essentially ignored instead of mapping them to
the appropriately sized integer type.
This fixes PR20008.
Differential Revision: http://reviews.llvm.org/D4132
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211441 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 2eb7751f3c..acfd174b63 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 - bool isMicrosoftInteger; // Microsoft suffix extension i8, i16, i32, or i64. + uint8_t MicrosoftInteger; // Microsoft suffix extension i8, i16, i32, or i64. bool isIntegerLiteral() const { return !saw_period && !saw_exponent; |
