[llvm-commits] CVS: llvm/include/llvm/Type.h

Chris Lattner lattner at cs.uiuc.edu
Sat Apr 23 14:59:57 PDT 2005



Changes in directory llvm/include/llvm:

Type.h updated: 1.76 -> 1.77
---
Log message:

add a method, remove a dead #include


---
Diffs of the changes:  (+1 -2)

 Type.h |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)


Index: llvm/include/llvm/Type.h
diff -u llvm/include/llvm/Type.h:1.76 llvm/include/llvm/Type.h:1.77
--- llvm/include/llvm/Type.h:1.76	Fri Apr 22 19:11:21 2005
+++ llvm/include/llvm/Type.h	Sat Apr 23 16:59:42 2005
@@ -218,6 +218,7 @@
   /// return zero if the type does not have a size or is not a primitive type.
   ///
   unsigned getPrimitiveSize() const;
+  unsigned getPrimitiveSizeInBits() const;
 
   /// getUnsignedVersion - If this is an integer type, return the unsigned
   /// variant of this type.  For example int -> uint.
@@ -294,8 +295,6 @@
   /// Methods for support type inquiry through isa, cast, and dyn_cast:
   static inline bool classof(const Type *T) { return true; }
 
-#include "llvm/Type.def"
-
   // Virtual methods used by callbacks below.  These should only be implemented
   // in the DerivedType class.
   virtual void addAbstractTypeUser(AbstractTypeUser *U) const {






More information about the llvm-commits mailing list