Commit 41cce3b
authored
[ADT] Remove DenseMapBase::getHashValue (NFC) (#161123)
This patch removes:
static unsigned getHashValue(const KeyT &Val) {
return KeyInfoT::getHashValue(Val);
}
This function is redundant given the templated overload:
template <typename LookupKeyT>
static unsigned getHashValue(const LookupKeyT &Val) {
return KeyInfoT::getHashValue(Val);
}
Note that the callers doFind and LookupBucketFor are themselves
templated on LookupKeyT.1 parent 57f2a2e commit 41cce3b
1 file changed
+0
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | 443 | | |
448 | 444 | | |
449 | 445 | | |
| |||
0 commit comments