summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/command_script/main.cpp
diff options
context:
space:
mode:
authorJun Bum Lim <junbuml@codeaurora.org>2016-03-25 19:28:08 +0000
committerJun Bum Lim <junbuml@codeaurora.org>2016-03-25 19:28:08 +0000
commit2544788e13b3c6f8651fea26ce204ecb2285dc83 (patch)
tree0dac2625d6d091b91aa9c7e3ec812eba02e04e6c /lldb/packages/Python/lldbsuite/test/functionalities/command_script/main.cpp
parent09ff326ca23ea631ba5707f17804eb70375196cc (diff)
downloadbcm5719-llvm-2544788e13b3c6f8651fea26ce204ecb2285dc83.tar.gz
bcm5719-llvm-2544788e13b3c6f8651fea26ce204ecb2285dc83.zip
[SetVector] Add erase() method
This is a recommit of r264414 after fixing the buildbot failure caused by incompatible use of std::vector.erase(). The original message: 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: 264450
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/command_script/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud