summaryrefslogtreecommitdiff
path: root/include/llvm/Constant.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Constant.h')
-rw-r--r--include/llvm/Constant.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/llvm/Constant.h b/include/llvm/Constant.h
index 7464dce330..7fecf4c7b4 100644
--- a/include/llvm/Constant.h
+++ b/include/llvm/Constant.h
@@ -108,8 +108,6 @@ public:
virtual void destroyConstant() { llvm_unreachable("Not reached!"); }
//// Methods for support type inquiry through isa, cast, and dyn_cast:
- static inline bool classof(const Constant *) { return true; }
- static inline bool classof(const GlobalValue *) { return true; }
static inline bool classof(const Value *V) {
return V->getValueID() >= ConstantFirstVal &&
V->getValueID() <= ConstantLastVal;