mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
add a method, remove a dead #include
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21482 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
55f950113b
commit
4c5d305b1a
@ -218,6 +218,7 @@ public:
|
|||||||
/// return zero if the type does not have a size or is not a primitive type.
|
/// return zero if the type does not have a size or is not a primitive type.
|
||||||
///
|
///
|
||||||
unsigned getPrimitiveSize() const;
|
unsigned getPrimitiveSize() const;
|
||||||
|
unsigned getPrimitiveSizeInBits() const;
|
||||||
|
|
||||||
/// getUnsignedVersion - If this is an integer type, return the unsigned
|
/// getUnsignedVersion - If this is an integer type, return the unsigned
|
||||||
/// variant of this type. For example int -> uint.
|
/// variant of this type. For example int -> uint.
|
||||||
@ -294,8 +295,6 @@ public:
|
|||||||
/// Methods for support type inquiry through isa, cast, and dyn_cast:
|
/// Methods for support type inquiry through isa, cast, and dyn_cast:
|
||||||
static inline bool classof(const Type *T) { return true; }
|
static inline bool classof(const Type *T) { return true; }
|
||||||
|
|
||||||
#include "llvm/Type.def"
|
|
||||||
|
|
||||||
// Virtual methods used by callbacks below. These should only be implemented
|
// Virtual methods used by callbacks below. These should only be implemented
|
||||||
// in the DerivedType class.
|
// in the DerivedType class.
|
||||||
virtual void addAbstractTypeUser(AbstractTypeUser *U) const {
|
virtual void addAbstractTypeUser(AbstractTypeUser *U) const {
|
||||||
|
Loading…
Reference in New Issue
Block a user