diff options
Diffstat (limited to 'include/llvm/Type.h')
-rw-r--r-- | include/llvm/Type.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/llvm/Type.h b/include/llvm/Type.h index 2a43153acd..687b12afb0 100644 --- a/include/llvm/Type.h +++ b/include/llvm/Type.h @@ -187,13 +187,6 @@ public: inline bool isPrimitiveType() const { return ID < FirstDerivedTyID; } inline bool isDerivedType() const { return ID >= FirstDerivedTyID; } - inline const DerivedType *castDerivedType() const { - return isDerivedType() ? (const DerivedType*)this : 0; - } - inline const DerivedType *castDerivedTypeAsserting() const { - assert(isDerivedType()); - return (const DerivedType*)this; - } // Methods for support type inquiry through isa, cast, and dyn_cast: static inline bool isa(const Type *T) { return true; } |