StringMapEntry ‐ This is used to represent one value that is inserted into a StringMap. It contains the Value itself and the key: the string length and data.
Synopsis
Declared in <llvm/ADT/StringMapEntry.h>
template<typename ValueTy>
class StringMapEntry final
: public StringMapEntryStorage<ValueTy>
Base Classes
Name |
Description |
StringMapEntryStorage ‐ Holds the value in a StringMapEntry. |
Type Aliases
Name |
Description |
Type of the mapped value stored in this entry. |
Member Functions
Name |
Description |
Destroy ‐ Destroy this StringMapEntry, releasing memory back to the specified allocator. |
|
Alias for getKey(), enabling structured‐binding‐like access as |
|
Return the key string as a StringRef. |
|
getKeyData ‐ Return the start of the string data that is the key for this value. The string data is always stored immediately after the StringMapEntry object. |
|
Return the length of the key string stored after this entry. |
|
|
|
Replace the mapped value with |
Static Member Functions
Name |
Description |
GetStringMapEntryFromKeyData ‐ Given key data that is known to be embedded into a StringMapEntry, return the StringMapEntry itself. |
|
Create a StringMapEntry for the specified key construct the value using |
Data Members
Name |
Description |
Mapped value associated with the entry's key. |
Using Declarations
Name |
Description |
Inherit constructors from the storage base class. |
Protected Static Member Functions
Name |
Description |
Allocate an entry followed by a copy of |