From: Sanjoy Das Date: Thu, 2 Apr 2015 04:58:08 +0000 (+0000) Subject: [ADT] Remove dead code. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b7589c8b1bb84f07497702150da1f41cd9464c9c;p=oota-llvm.git [ADT] Remove dead code. Nothing is using DenseMapBase::swap. Besides it does not compile in its current form. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233889 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ADT/DenseMap.h b/include/llvm/ADT/DenseMap.h index 8c65f70838e..443a620d1af 100644 --- a/include/llvm/ADT/DenseMap.h +++ b/include/llvm/ADT/DenseMap.h @@ -341,11 +341,6 @@ protected: } } - void swap(DenseMapBase& RHS) { - std::swap(getNumEntries(), RHS.getNumEntries()); - std::swap(getNumTombstones(), RHS.getNumTombstones()); - } - static unsigned getHashValue(const KeyT &Val) { return KeyInfoT::getHashValue(Val); }