diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-11-04 00:34:40 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-11-04 00:34:40 +0000 |
commit | 082fb9ae304a25aa6be1f74d9b9720c52a96231e (patch) | |
tree | de33da09880f3656544e9da804543ebe7d71c3a6 | |
parent | f6f56d4fc8ebce17e7b83eb2c35f57a055c22283 (diff) |
Use unsigned char instead of unsigned : 8 to make the optimizer happier.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85985 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/Lex/Token.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Lex/Token.h b/include/clang/Lex/Token.h index fa7ba54478..8d910959b9 100644 --- a/include/clang/Lex/Token.h +++ b/include/clang/Lex/Token.h @@ -63,12 +63,12 @@ class Token { /// Kind - The actual flavor of token this is. /// - unsigned Kind : 8; // DON'T make Kind a 'tok::TokenKind'; + 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. /// Flags - Bits we track about this token, members of the TokenFlags enum. - unsigned Flags : 8; + unsigned char Flags; public: // Various flags set per token: |