LLVM
15.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) |
![]() | |
StringMapEntryBase (size_t keyLength) | |
size_t | getKeyLength () const |
Public Attributes | |
ValueTy | second |
Additional Inherited Members | |
![]() | |
template<typename AllocatorTy > | |
static void * | allocateWithKey (size_t EntrySize, size_t EntryAlign, StringRef Key, AllocatorTy &Allocator) |
Helper to tail-allocate Key . More... | |
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 70 of file StringMapEntry.h.
|
inlineexplicit |
Definition at line 74 of file StringMapEntry.h.
|
inline |
Definition at line 77 of file StringMapEntry.h.
|
delete |
|
inline |
Definition at line 83 of file StringMapEntry.h.
|
inline |
Definition at line 82 of file StringMapEntry.h.
|
inline |
Definition at line 85 of file StringMapEntry.h.
Referenced by llvm::Value::takeName().
ValueTy llvm::StringMapEntryStorage< ValueTy >::second |
Definition at line 72 of file StringMapEntry.h.
Referenced by llvm::StringMapEntryStorage< llvm::Comdat >::getValue(), and llvm::StringMapEntryStorage< llvm::Comdat >::setValue().