projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c43b92
)
[ADT] Remove dead code.
author
Sanjoy Das
<sanjoy@playingwithpointers.com>
Thu, 2 Apr 2015 04:58:08 +0000
(
04:58
+0000)
committer
Sanjoy Das
<sanjoy@playingwithpointers.com>
Thu, 2 Apr 2015 04:58:08 +0000
(
04:58
+0000)
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
include/llvm/ADT/DenseMap.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/DenseMap.h
b/include/llvm/ADT/DenseMap.h
index 8c65f70838e6779caa0ae0477242aa2a3276393d..443a620d1af0a44396ce0fd3744bb56758bfc0bd 100644
(file)
--- 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);
}