[cfe-commits] r56952 - /cfe/trunk/include/clang/Basic/IdentifierTable.h

Daniel Dunbar daniel at zuster.org
Thu Oct 2 09:40:47 PDT 2008


Author: ddunbar
Date: Thu Oct  2 11:40:43 2008
New Revision: 56952

URL: http://llvm.org/viewvc/llvm-project?rev=56952&view=rev
Log:
Unbreak build: claim an extra bit for BuiltinID.

Modified:
    cfe/trunk/include/clang/Basic/IdentifierTable.h

Modified: cfe/trunk/include/clang/Basic/IdentifierTable.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/IdentifierTable.h?rev=56952&r1=56951&r2=56952&view=diff

==============================================================================
--- cfe/trunk/include/clang/Basic/IdentifierTable.h (original)
+++ cfe/trunk/include/clang/Basic/IdentifierTable.h Thu Oct  2 11:40:43 2008
@@ -45,14 +45,14 @@
   // 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.





More information about the cfe-commits mailing list