aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Function.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Function.h')
-rw-r--r--include/llvm/Function.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h
index 855c926bf5..f28aa5cdd7 100644
--- a/include/llvm/Function.h
+++ b/include/llvm/Function.h
@@ -404,7 +404,6 @@ public:
void viewCFGOnly() const;
/// Methods for support type inquiry through isa, cast, and dyn_cast:
- static inline bool classof(const Function *) { return true; }
static inline bool classof(const Value *V) {
return V->getValueID() == Value::FunctionVal;
}