aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-06-23 20:15:25 +0000
committerDouglas Gregor <dgregor@apple.com>2011-06-23 20:15:25 +0000
commit7f88c0133272129111ec32d7aa5eacf6e685c6fc (patch)
tree3bc32c06233699b8bb264335c2bda8c7968ad915
parentcf5abc7ba032bd35158e4d75b0bc92a482fc67e8 (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.h6
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;