summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py
diff options
context:
space:
mode:
authorJun Bum Lim <junbuml@codeaurora.org>2016-03-25 16:04:43 +0000
committerJun Bum Lim <junbuml@codeaurora.org>2016-03-25 16:04:43 +0000
commit09028212348a2adb81e3a1b41698574f8b099960 (patch)
tree81a3eb1ffcdced39f5a14b17b645fa2bdb4b3445 /lldb/packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py
parentb95ee819f2fdb60463f8317e57134c0f27c4ccb3 (diff)
downloadbcm5719-llvm-09028212348a2adb81e3a1b41698574f8b099960.tar.gz
bcm5719-llvm-09028212348a2adb81e3a1b41698574f8b099960.zip
[SetVector] Add erase() method
Summary: Add erase() which returns an iterator pointing to the next element after the erased one. This makes it possible to erase selected elements while iterating over the SetVector : while (I != E) if (test(*I)) I = SetVector.erase(I); else ++I; Reviewers: qcolombet, mcrosier, MatzeB, dblaikie Subscribers: dberlin, dblaikie, mcrosier, llvm-commits Differential Revision: http://reviews.llvm.org/D18281 llvm-svn: 264414
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud