From a1a702cdd23221e6e3f36632be91150138958e9d Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 13 Apr 2007 18:12:09 +0000 Subject: Rename Value::getValueType to getValueID, to avoid confusion with other things named getValueType. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35964 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Argument.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/llvm/Argument.h') diff --git a/include/llvm/Argument.h b/include/llvm/Argument.h index 8776a488aa..ea735b546a 100644 --- a/include/llvm/Argument.h +++ b/include/llvm/Argument.h @@ -64,7 +64,7 @@ public: /// static inline bool classof(const Argument *) { return true; } static inline bool classof(const Value *V) { - return V->getValueType() == ArgumentVal; + return V->getValueID() == ArgumentVal; } }; -- cgit v1.2.3