From 1da2972d2635473b6f7a006d9d07478dba7d971e Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 1 Oct 2002 23:41:17 +0000 Subject: [PATCH] - Remove the User::eraseOperand method which is never used, really dangerous, and not something we want to expose. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4007 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/User.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/llvm/User.h b/include/llvm/User.h index 1bd275a02b1..e9dea8bcbff 100644 --- a/include/llvm/User.h +++ b/include/llvm/User.h @@ -34,10 +34,6 @@ public: assert(i < Operands.size() && "setOperand() out of range!"); Operands[i] = Val; } - inline void eraseOperand(unsigned i) { - assert(i < Operands.size() && "setOperand() out of range!"); - Operands.erase(Operands.begin() + i); - } inline unsigned getNumOperands() const { return Operands.size(); } // --------------------------------------------------------------------------- -- 2.34.1