LLVM 22.0.0git
llvm::DenseMapInfo< std::optional< T > > Struct Template Reference

#include "llvm/ADT/DenseMapInfo.h"

Inheritance diagram for llvm::DenseMapInfo< std::optional< T > >:
[legend]

Public Types

using Optional = std::optional<T>
using Info = DenseMapInfo<T>

Static Public Member Functions

static constexpr Optional getEmptyKey ()
static constexpr Optional getTombstoneKey ()
static unsigned getHashValue (const Optional &OptionalVal)
static bool isEqual (const Optional &LHS, const Optional &RHS)

Detailed Description

template<typename T>
struct llvm::DenseMapInfo< std::optional< T > >

Definition at line 245 of file DenseMapInfo.h.

Member Typedef Documentation

◆ Info

template<typename T>
using llvm::DenseMapInfo< std::optional< T > >::Info = DenseMapInfo<T>

Definition at line 247 of file DenseMapInfo.h.

◆ Optional

template<typename T>
using llvm::DenseMapInfo< std::optional< T > >::Optional = std::optional<T>

Definition at line 246 of file DenseMapInfo.h.

Member Function Documentation

◆ getEmptyKey()

template<typename T>
constexpr Optional llvm::DenseMapInfo< std::optional< T > >::getEmptyKey ( )
inlinestaticconstexpr

Definition at line 249 of file DenseMapInfo.h.

◆ getHashValue()

template<typename T>
unsigned llvm::DenseMapInfo< std::optional< T > >::getHashValue ( const Optional & OptionalVal)
inlinestatic

Definition at line 255 of file DenseMapInfo.h.

References llvm::detail::combineHashValue().

◆ getTombstoneKey()

template<typename T>
constexpr Optional llvm::DenseMapInfo< std::optional< T > >::getTombstoneKey ( )
inlinestaticconstexpr

Definition at line 251 of file DenseMapInfo.h.

◆ isEqual()

template<typename T>
bool llvm::DenseMapInfo< std::optional< T > >::isEqual ( const Optional & LHS,
const Optional & RHS )
inlinestatic

Definition at line 261 of file DenseMapInfo.h.

References LHS, and RHS.


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