summaryrefslogtreecommitdiff
path: root/include/llvm/User.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/User.h')
-rw-r--r--include/llvm/User.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/User.h b/include/llvm/User.h
index cc28d76ab3..42f9c86101 100644
--- a/include/llvm/User.h
+++ b/include/llvm/User.h
@@ -52,6 +52,9 @@ public:
/// operands list. Only use this if you know what you are doing.
///
op_iterator op_erase(op_iterator I) { return Operands.erase(I); }
+ op_iterator op_erase(op_iterator I, op_iterator E) {
+ return Operands.erase(I, E);
+ }
// dropAllReferences() - This function is in charge of "letting go" of all
// objects that this User refers to. This allows one to