LLVM 22.0.0git
Public Types | Static Public Member Functions | List of all members
llvm::DenseMapInfo< std::optional< T > > Struct Template Reference

#include "llvm/ADT/DenseMapInfo.h"

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 251 of file DenseMapInfo.h.

Member Typedef Documentation

◆ Info

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

Definition at line 253 of file DenseMapInfo.h.

◆ Optional

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

Definition at line 252 of file DenseMapInfo.h.

Member Function Documentation

◆ getEmptyKey()

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

Definition at line 255 of file DenseMapInfo.h.

◆ getHashValue()

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

Definition at line 261 of file DenseMapInfo.h.

References llvm::detail::combineHashValue().

◆ getTombstoneKey()

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

Definition at line 257 of file DenseMapInfo.h.

◆ isEqual()

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

Definition at line 267 of file DenseMapInfo.h.

References LHS, and RHS.


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