From 4e5e2edf6a786c094446eaae57ff4b9174baaf37 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 9 Oct 2002 00:25:01 +0000 Subject: [PATCH] - Remove Value::use_push_back & Value::use_remove git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4089 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Value.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/llvm/Value.h b/include/llvm/Value.h index f8eceb7ec05..e5c975e4a7d 100644 --- a/include/llvm/Value.h +++ b/include/llvm/Value.h @@ -110,9 +110,8 @@ public: inline User *use_back() { return Uses.back(); } inline const User *use_back() const { return Uses.back(); } - inline void use_push_back(User *I) { Uses.push_back(I); } - User *use_remove(use_iterator &I); - + /// addUse/killUse - These two methods should only be used by the Use class + /// below. inline void addUse(User *I) { Uses.push_back(I); } void killUse(User *I); }; -- 2.34.1