diff options
author | Chris Lattner <sabre@nondot.org> | 2003-07-23 15:30:06 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-07-23 15:30:06 +0000 |
commit | 949a3628024248db01d5b13e03c415e0c88e90e4 (patch) | |
tree | 20016aa1bfe0b2a217ac5c604879bee62f0321ea /include/llvm/DerivedTypes.h | |
parent | c07736a397012499e337c994f7f952b07c709544 (diff) | |
download | llvm-949a3628024248db01d5b13e03c415e0c88e90e4.tar.gz llvm-949a3628024248db01d5b13e03c415e0c88e90e4.tar.bz2 llvm-949a3628024248db01d5b13e03c415e0c88e90e4.tar.xz |
Remove redundant const qualifiers from cast<> expressions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7253 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/DerivedTypes.h')
-rw-r--r-- | include/llvm/DerivedTypes.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/llvm/DerivedTypes.h b/include/llvm/DerivedTypes.h index 76a4e0f8ac..efccc74a4f 100644 --- a/include/llvm/DerivedTypes.h +++ b/include/llvm/DerivedTypes.h @@ -139,7 +139,7 @@ public: return T->getPrimitiveID() == FunctionTyID; } static inline bool classof(const Value *V) { - return isa<Type>(V) && classof(cast<const Type>(V)); + return isa<Type>(V) && classof(cast<Type>(V)); } }; @@ -172,7 +172,7 @@ public: T->getPrimitiveID() == PointerTyID; } static inline bool classof(const Value *V) { - return isa<Type>(V) && classof(cast<const Type>(V)); + return isa<Type>(V) && classof(cast<Type>(V)); } }; @@ -228,7 +228,7 @@ public: return T->getPrimitiveID() == StructTyID; } static inline bool classof(const Value *V) { - return isa<Type>(V) && classof(cast<const Type>(V)); + return isa<Type>(V) && classof(cast<Type>(V)); } }; @@ -279,7 +279,7 @@ public: T->getPrimitiveID() == PointerTyID; } static inline bool classof(const Value *V) { - return isa<Type>(V) && classof(cast<const Type>(V)); + return isa<Type>(V) && classof(cast<Type>(V)); } }; @@ -314,7 +314,7 @@ public: return T->getPrimitiveID() == ArrayTyID; } static inline bool classof(const Value *V) { - return isa<Type>(V) && classof(cast<const Type>(V)); + return isa<Type>(V) && classof(cast<Type>(V)); } }; @@ -347,7 +347,7 @@ public: return T->getPrimitiveID() == PointerTyID; } static inline bool classof(const Value *V) { - return isa<Type>(V) && classof(cast<const Type>(V)); + return isa<Type>(V) && classof(cast<Type>(V)); } }; |