LLVM 20.0.0git
Public Types | Static Public Member Functions | List of all members
llvm::DenseMapInfo< Enum, std::enable_if_t< std::is_enum_v< Enum > > > Struct Template Reference

#include "llvm/ADT/DenseMapInfo.h"

Public Types

using UnderlyingType = std::underlying_type_t< Enum >
 
using Info = DenseMapInfo< UnderlyingType >
 

Static Public Member Functions

static Enum getEmptyKey ()
 
static Enum getTombstoneKey ()
 
static unsigned getHashValue (const Enum &Val)
 
static bool isEqual (const Enum &LHS, const Enum &RHS)
 

Detailed Description

template<typename Enum>
struct llvm::DenseMapInfo< Enum, std::enable_if_t< std::is_enum_v< Enum > > >

Definition at line 307 of file DenseMapInfo.h.

Member Typedef Documentation

◆ Info

template<typename Enum >
using llvm::DenseMapInfo< Enum, std::enable_if_t< std::is_enum_v< Enum > > >::Info = DenseMapInfo<UnderlyingType>

Definition at line 309 of file DenseMapInfo.h.

◆ UnderlyingType

template<typename Enum >
using llvm::DenseMapInfo< Enum, std::enable_if_t< std::is_enum_v< Enum > > >::UnderlyingType = std::underlying_type_t<Enum>

Definition at line 308 of file DenseMapInfo.h.

Member Function Documentation

◆ getEmptyKey()

template<typename Enum >
static Enum llvm::DenseMapInfo< Enum, std::enable_if_t< std::is_enum_v< Enum > > >::getEmptyKey ( )
inlinestatic

Definition at line 311 of file DenseMapInfo.h.

◆ getHashValue()

template<typename Enum >
static unsigned llvm::DenseMapInfo< Enum, std::enable_if_t< std::is_enum_v< Enum > > >::getHashValue ( const Enum &  Val)
inlinestatic

Definition at line 317 of file DenseMapInfo.h.

◆ getTombstoneKey()

template<typename Enum >
static Enum llvm::DenseMapInfo< Enum, std::enable_if_t< std::is_enum_v< Enum > > >::getTombstoneKey ( )
inlinestatic

Definition at line 313 of file DenseMapInfo.h.

◆ isEqual()

template<typename Enum >
static bool llvm::DenseMapInfo< Enum, std::enable_if_t< std::is_enum_v< Enum > > >::isEqual ( const Enum &  LHS,
const Enum &  RHS 
)
inlinestatic

Definition at line 321 of file DenseMapInfo.h.

References LHS, and RHS.


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