LLVM 23.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 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 153 of file DenseMapInfo.h.

Member Typedef Documentation

◆ Info

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

Definition at line 155 of file DenseMapInfo.h.

◆ Optional

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

Definition at line 154 of file DenseMapInfo.h.

Member Function Documentation

◆ getHashValue()

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

Definition at line 157 of file DenseMapInfo.h.

References llvm::detail::combineHashValue().

◆ isEqual()

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

Definition at line 163 of file DenseMapInfo.h.

References LHS, and RHS.


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