mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Various public StringMap methods take or return "MapEntryTy", make it public.
llvm-svn: 148732
This commit is contained in:
parent
73f7de854c
commit
cfea666af2
@ -229,8 +229,9 @@ public:
|
|||||||
template<typename ValueTy, typename AllocatorTy = MallocAllocator>
|
template<typename ValueTy, typename AllocatorTy = MallocAllocator>
|
||||||
class StringMap : public StringMapImpl {
|
class StringMap : public StringMapImpl {
|
||||||
AllocatorTy Allocator;
|
AllocatorTy Allocator;
|
||||||
typedef StringMapEntry<ValueTy> MapEntryTy;
|
|
||||||
public:
|
public:
|
||||||
|
typedef StringMapEntry<ValueTy> MapEntryTy;
|
||||||
|
|
||||||
StringMap() : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {}
|
StringMap() : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {}
|
||||||
explicit StringMap(unsigned InitialSize)
|
explicit StringMap(unsigned InitialSize)
|
||||||
: StringMapImpl(InitialSize, static_cast<unsigned>(sizeof(MapEntryTy))) {}
|
: StringMapImpl(InitialSize, static_cast<unsigned>(sizeof(MapEntryTy))) {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user