diff options
-rw-r--r-- | include/llvm/Type.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Type.h b/include/llvm/Type.h index 443a6bcdc3..502a9d9046 100644 --- a/include/llvm/Type.h +++ b/include/llvm/Type.h @@ -218,6 +218,7 @@ public: /// 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 @@ public: /// 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 { |