diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-06-23 20:15:25 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-06-23 20:15:25 +0000 |
commit | 7f88c0133272129111ec32d7aa5eacf6e685c6fc (patch) | |
tree | 3bc32c06233699b8bb264335c2bda8c7968ad915 | |
parent | cf5abc7ba032bd35158e4d75b0bc92a482fc67e8 (diff) |
Bump Token::Kind from an unsigned char to an unsigned short, from Anton Lokhmotov
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133750 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/Lex/Token.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/clang/Lex/Token.h b/include/clang/Lex/Token.h index edcfcc10d2..892938768a 100644 --- a/include/clang/Lex/Token.h +++ b/include/clang/Lex/Token.h @@ -63,9 +63,9 @@ class Token { /// Kind - The actual flavor of token this is. /// - unsigned char Kind; // DON'T make Kind a 'tok::TokenKind'; - // MSVC will treat it as a signed char and - // TokenKinds > 127 won't be handled correctly. + unsigned short Kind; // DON'T make Kind a 'tok::TokenKind'; + // MSVC will treat it as a signed char and + // TokenKinds > 127 won't be handled correctly. /// Flags - Bits we track about this token, members of the TokenFlags enum. unsigned char Flags; |