improve the APIs for creating struct and function types with no arguments/elements
[oota-llvm.git] / include / llvm / Support / PointerLikeTypeTraits.h
index c5f79ccb83567605c79de167349160b7fe89628c..b0edd3bd09f99d8049cf27b9d21a5d8f82366c85 100644 (file)
@@ -44,7 +44,7 @@ public:
   ///
   /// All clients should use assertions to do a run-time check to ensure that
   /// this is actually true.
-  enum { NumLowBitsAvailable = 3 };
+  enum { NumLowBitsAvailable = 2 };
 };
   
 // Provide PointerLikeTypeTraits for const pointers.
@@ -55,7 +55,7 @@ public:
   static inline const T *getFromVoidPointer(const void *P) {
     return static_cast<const T*>(P);
   }
-  enum { NumLowBitsAvailable = 3 };
+  enum { NumLowBitsAvailable = 2 };
 };
 
 // Provide PointerLikeTypeTraits for uintptr_t.