diff options
Diffstat (limited to 'include/llvm/IR/Constant.h')
-rw-r--r-- | include/llvm/IR/Constant.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/IR/Constant.h b/include/llvm/IR/Constant.h index 82afd9a2691f..9daeac6ad6e7 100644 --- a/include/llvm/IR/Constant.h +++ b/include/llvm/IR/Constant.h @@ -116,7 +116,7 @@ public: void destroyConstant(); //// 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 V->getValueID() >= ConstantFirstVal && V->getValueID() <= ConstantLastVal; } |