diff options
author | Daniel Dunbar <daniel@zuster.org> | 2008-10-02 16:40:43 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2008-10-02 16:40:43 +0000 |
commit | 147d26f281409748efcd917292e571794c439d1c (patch) | |
tree | 7f12e2b898df29b212f407d7b151207c06650987 /include/clang/Basic/IdentifierTable.h | |
parent | e553a726fa52ed2f9a6472ded5d9b602a7af5af1 (diff) |
Unbreak build: claim an extra bit for BuiltinID.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56952 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/IdentifierTable.h')
-rw-r--r-- | include/clang/Basic/IdentifierTable.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Basic/IdentifierTable.h b/include/clang/Basic/IdentifierTable.h index 48d8fa5f96..fc32b4d7d3 100644 --- a/include/clang/Basic/IdentifierTable.h +++ b/include/clang/Basic/IdentifierTable.h @@ -45,14 +45,14 @@ class IdentifierInfo { // Note: DON'T make TokenID a 'tok::TokenKind'; MSVC will treat it as a // signed char and TokenKinds > 127 won't be handled correctly. unsigned TokenID : 8; // Front-end token ID or tok::identifier. - unsigned BuiltinID : 9; // ID if this is a builtin (__builtin_inf). + unsigned BuiltinID :10; // ID if this is a builtin (__builtin_inf). // NOTE: VC++ treats enums as signed, avoid using tok::ObjCKeywordKind enum unsigned ObjCID : 5; // ID for objc @ keyword like @'protocol'. bool HasMacro : 1; // True if there is a #define for this. bool IsExtension : 1; // True if identifier is a lang extension. bool IsPoisoned : 1; // True if identifier is poisoned. bool IsCPPOperatorKeyword : 1; // True if ident is a C++ operator keyword. - // 6 bits left in 32-bit word. + // 5 bits left in 32-bit word. void *FETokenInfo; // Managed by the language front-end. IdentifierInfo(const IdentifierInfo&); // NONCOPYABLE. void operator=(const IdentifierInfo&); // NONASSIGNABLE. |