[llvm] [SmallPtrSet] Don't leave tombstones in small mode (PR #96762)
Jakub Kuderski via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 26 07:33:36 PDT 2024
================
@@ -362,6 +364,22 @@ class SmallPtrSetImpl : public SmallPtrSetImplBase {
template <typename UnaryPredicate>
bool remove_if(UnaryPredicate P) {
----------------
kuhar wrote:
This should probably document what happens to iterators to explain what the difference is compared to (a sequence of) erase.
https://github.com/llvm/llvm-project/pull/96762
More information about the llvm-commits
mailing list