mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 03:23:01 +02:00
Convert SmallMapVector from a class to a struct.
llvm-svn: 225158
This commit is contained in:
parent
e85c9d20b3
commit
2ec4cde9e4
@ -185,11 +185,9 @@ void MapVector<KeyT, ValueT, MapType, VectorType>::remove_if(Function Pred) {
|
|||||||
/// \brief A MapVector that performs no allocations if smaller than a certain
|
/// \brief A MapVector that performs no allocations if smaller than a certain
|
||||||
/// size.
|
/// size.
|
||||||
template <typename KeyT, typename ValueT, unsigned N>
|
template <typename KeyT, typename ValueT, unsigned N>
|
||||||
class SmallMapVector
|
struct SmallMapVector
|
||||||
: public MapVector<KeyT, ValueT, SmallDenseMap<KeyT, unsigned, N>,
|
: MapVector<KeyT, ValueT, SmallDenseMap<KeyT, unsigned, N>,
|
||||||
SmallVector<std::pair<KeyT, ValueT>, N>> {
|
SmallVector<std::pair<KeyT, ValueT>, N>> {
|
||||||
public:
|
|
||||||
SmallMapVector() {}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // end namespace llvm
|
} // end namespace llvm
|
||||||
|
Loading…
Reference in New Issue
Block a user