mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-27 14:34:58 +00:00
inline isIntegral to make this method look like classof for all other
derived types git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33144 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bcaae8d8a4
commit
a82d407850
@ -103,7 +103,9 @@ public:
|
||||
|
||||
// Methods for support type inquiry through isa, cast, and dyn_cast:
|
||||
static inline bool classof(const IntegerType *T) { return true; }
|
||||
static inline bool classof(const Type *T) { return T->isIntegral(); }
|
||||
static inline bool classof(const Type *T) {
|
||||
return T->getTypeID() == IntegerTyID;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user