Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LVI] Remove count/erase idiom in favor of checking result value of e…
…rase Minor compile time win. Avoids an additional O(N) scan in the case where we are removing an element and costs nothing when we aren't. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@290768 91177308-0d34-0410-b5e6-96231b3b80d8
- Loading branch information