diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2004-05-17 21:17:21 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-05-17 21:17:21 +0000 |
commit | 71d3a87ec1cf788236f48527f2cf5e2ae65df492 (patch) | |
tree | 91ded13b29b319a4e044a7d83706b9a7c249fc70 /include | |
parent | 2fea9ade5593b146983f5674f6f74e917c55877b (diff) | |
download | external_llvm-71d3a87ec1cf788236f48527f2cf5e2ae65df492.zip external_llvm-71d3a87ec1cf788236f48527f2cf5e2ae65df492.tar.gz external_llvm-71d3a87ec1cf788236f48527f2cf5e2ae65df492.tar.bz2 |
Define erase forwarding method on traces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13591 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Analysis/Trace.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Analysis/Trace.h b/include/llvm/Analysis/Trace.h index 35a36a4..7de511f 100644 --- a/include/llvm/Analysis/Trace.h +++ b/include/llvm/Analysis/Trace.h @@ -101,6 +101,9 @@ public: unsigned size() const { return BasicBlocks.size(); } bool empty() const { return BasicBlocks.empty(); } + iterator erase(iterator q) { return BasicBlocks.erase (q); } + iterator erase(iterator q1, iterator q2) { return BasicBlocks.erase (q1, q2); } + /// print - Write trace to output stream. /// void print (std::ostream &O) const; |