LLVM: llvm::StringMapEntryStorage< ValueTy > Class Template Reference (original) (raw)
StringMapEntryStorage - Holds the value in a StringMapEntry. More...
#include "[llvm/ADT/StringMapEntry.h](ADT%5F2StringMapEntry%5F8h%5Fsource.html)"
Inheritance diagram for llvm::StringMapEntryStorage< ValueTy >:
Public Member Functions | |
---|---|
StringMapEntryStorage (size_t keyLength) | |
template<typename... InitTy> | |
StringMapEntryStorage (size_t keyLength, InitTy &&...initVals) | |
StringMapEntryStorage (StringMapEntryStorage &e)=delete | |
const ValueTy & | getValue () const |
ValueTy & | getValue () |
void | setValue (const ValueTy &V) |
![]() |
|
StringMapEntryBase (size_t keyLength) | |
size_t | getKeyLength () const |
Public Attributes | |
---|---|
ValueTy | second |
Additional Inherited Members | |
---|---|
![]() |
|
template | |
static void * | allocateWithKey (size_t EntrySize, size_t EntryAlign, StringRef Key, AllocatorTy &Allocator) |
Helper to tail-allocate Key. | |
Detailed Description
template
class llvm::StringMapEntryStorage< ValueTy >
StringMapEntryStorage - Holds the value in a StringMapEntry.
Factored out into a separate base class to make it easier to specialize. This is primarily intended to support StringSet, which doesn't need a value stored at all.
Definition at line 69 of file StringMapEntry.h.
Constructor & Destructor Documentation
template
◆ StringMapEntryStorage() [2/3]
template
template<typename... InitTy>
◆ StringMapEntryStorage() [3/3]
template
Member Function Documentation
◆ getValue() [1/2]
template
◆ getValue() [2/2]
template
◆ setValue()
template
Member Data Documentation
◆ second
template
The documentation for this class was generated from the following file:
- include/llvm/ADT/StringMapEntry.h