LLVM 22.0.0git
llvm::StringMapEntryStorage< std::nullopt_t > Class Reference

#include "llvm/ADT/StringMapEntry.h"

Inheritance diagram for llvm::StringMapEntryStorage< std::nullopt_t >:
[legend]

Public Member Functions

 StringMapEntryStorage (size_t keyLength, std::nullopt_t=std::nullopt)
 StringMapEntryStorage (StringMapEntryStorage &entry)=delete
std::nullopt_t getValue () const
void setValue (const std::nullopt_t &V)
Public Member Functions inherited from llvm::StringMapEntryBase
 StringMapEntryBase (size_t keyLength)
size_t getKeyLength () const

Public Attributes

std::nullopt_t 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.

Detailed Description

Definition at line 88 of file StringMapEntry.h.

Constructor & Destructor Documentation

◆ StringMapEntryStorage() [1/2]

llvm::StringMapEntryStorage< std::nullopt_t >::StringMapEntryStorage ( size_t keyLength,
std::nullopt_t = std::nullopt )
inlineexplicit

Definition at line 90 of file StringMapEntry.h.

References llvm::StringMapEntryBase::StringMapEntryBase().

Referenced by StringMapEntryStorage().

◆ StringMapEntryStorage() [2/2]

llvm::StringMapEntryStorage< std::nullopt_t >::StringMapEntryStorage ( StringMapEntryStorage< std::nullopt_t > & entry)
delete

Member Function Documentation

◆ getValue()

std::nullopt_t llvm::StringMapEntryStorage< std::nullopt_t >::getValue ( ) const
inline

Definition at line 95 of file StringMapEntry.h.

◆ setValue()

void llvm::StringMapEntryStorage< std::nullopt_t >::setValue ( const std::nullopt_t & V)
inline

Definition at line 84 of file StringMapEntry.h.

Member Data Documentation

◆ second

std::nullopt_t llvm::StringMapEntryStorage< std::nullopt_t >::second

Definition at line 71 of file StringMapEntry.h.


The documentation for this class was generated from the following file: