From: Daniel Dunbar Date: Thu, 2 Oct 2008 16:40:43 +0000 (+0000) Subject: Unbreak build: claim an extra bit for BuiltinID. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=147d26f281409748efcd917292e571794c439d1c;p=clang 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 --- 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.