aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/gdbclientutils.py
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2024-06-26 09:20:55 +0200
committerGitHub <noreply@github.com>2024-06-26 09:20:55 +0200
commit6c4c44b50ba3a08106b37fd5a739c387fef0b961 (patch)
tree6e9e9a400d5d2ec676892cc05029a1b660c22dbe /lldb/packages/Python/lldbsuite/test/gdbclientutils.py
parent28a3fbbe8c6cd5b92fb0a2a3cc21a836a381e086 (diff)
downloadllvm-6c4c44b50ba3a08106b37fd5a739c387fef0b961.zip
llvm-6c4c44b50ba3a08106b37fd5a739c387fef0b961.tar.gz
llvm-6c4c44b50ba3a08106b37fd5a739c387fef0b961.tar.bz2
[SetOperations] Support set containers with remove_if (#96613)
The current set_intersect implementation only works for std::set style sets that have a value-erase method that does not invalidate iterators. As such, it cannot be used for set containers like SetVector, which only has iterator-invalidating erase. Support such set containers by calling the remove_if method instead, if it exists. The detection code is adopted from how contains() is detected inside llvm::is_contained().
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/gdbclientutils.py')
0 files changed, 0 insertions, 0 deletions