LLVM 22.0.0git
|
StringMapEntryStorage - Holds the value in a StringMapEntry. More...
#include "llvm/ADT/StringMapEntry.h"
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) |
Public Member Functions inherited from llvm::StringMapEntryBase | |
StringMapEntryBase (size_t keyLength) | |
size_t | getKeyLength () const |
Public Attributes | |
ValueTy | second |
Additional Inherited Members | |
Static Protected Member Functions inherited from llvm::StringMapEntryBase | |
template<typename AllocatorTy> | |
static void * | allocateWithKey (size_t EntrySize, size_t EntryAlign, StringRef Key, AllocatorTy &Allocator) |
Helper to tail-allocate Key . |
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.
|
inlineexplicit |
Definition at line 73 of file StringMapEntry.h.
References second, and llvm::StringMapEntryBase::StringMapEntryBase().
Referenced by StringMapEntryStorage().
|
inline |
Definition at line 76 of file StringMapEntry.h.
References second, and llvm::StringMapEntryBase::StringMapEntryBase().
|
delete |
References StringMapEntryStorage().
|
inline |
Definition at line 82 of file StringMapEntry.h.
References second.
|
inline |
Definition at line 81 of file StringMapEntry.h.
References second.
Referenced by llvm::dwarf_linker::parallel::TypePool::getOrCreateTypeEntryBody().
|
inline |
Definition at line 84 of file StringMapEntry.h.
References second.
ValueTy llvm::StringMapEntryStorage< ValueTy >::second |
Definition at line 71 of file StringMapEntry.h.
Referenced by getValue(), getValue(), setValue(), StringMapEntryStorage(), and StringMapEntryStorage().