From ed84062812c7b8a82d0e8128a22aa1aa07a14d79 Mon Sep 17 00:00:00 2001 From: Sean Silva Date: Thu, 11 Oct 2012 23:30:49 +0000 Subject: Remove unnecessary classof()'s isa<> et al. automatically infer when the cast is an upcast (including a self-cast), so these are no longer necessary. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165767 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Argument.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/llvm/Argument.h') diff --git a/include/llvm/Argument.h b/include/llvm/Argument.h index 1155b974ec..b1c2218519 100644 --- a/include/llvm/Argument.h +++ b/include/llvm/Argument.h @@ -81,7 +81,6 @@ public: /// classof - Methods for support type inquiry through isa, cast, and /// dyn_cast: /// - static inline bool classof(const Argument *) { return true; } static inline bool classof(const Value *V) { return V->getValueID() == ArgumentVal; } -- cgit v1.2.3