diff options
Diffstat (limited to 'include/llvm/IR/User.h')
-rw-r--r-- | include/llvm/IR/User.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/IR/User.h b/include/llvm/IR/User.h index 109a3d5e7be8d..4dfa19cf241fa 100644 --- a/include/llvm/IR/User.h +++ b/include/llvm/IR/User.h @@ -288,7 +288,7 @@ public: void replaceUsesOfWith(Value *From, Value *To); // Methods for support type inquiry through isa, cast, and dyn_cast: - static inline bool classof(const Value *V) { + static bool classof(const Value *V) { return isa<Instruction>(V) || isa<Constant>(V); } }; |