Home
last modified time | relevance | path

Searched refs:MinNonEmpty (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DSmallPtrSet.cpp286 unsigned MinNonEmpty = std::min(this->NumNonEmpty, RHS.NumNonEmpty); in swap() local
287 std::swap_ranges(this->CurArray, this->CurArray + MinNonEmpty, RHS.CurArray); in swap()
288 if (this->NumNonEmpty > MinNonEmpty) { in swap()
289 std::copy(this->CurArray + MinNonEmpty, this->CurArray + this->NumNonEmpty, in swap()
290 RHS.CurArray + MinNonEmpty); in swap()
292 std::copy(RHS.CurArray + MinNonEmpty, RHS.CurArray + RHS.NumNonEmpty, in swap()
293 this->CurArray + MinNonEmpty); in swap()