LLVM 24.0.0git
llvm::UniquingSetInfo< T > Struct Template Reference

The default UniquingSet Info: T supplies its own key. More...

#include "llvm/ADT/FoldingSet.h"

Public Types

using KeyTy = remove_cvref_t<decltype(std::declval<const T &>().getKey())>

Static Public Member Functions

static KeyTy getKey (const T &N)
static unsigned getHashValue (const KeyTy &Key)

Detailed Description

template<typename T>
struct llvm::UniquingSetInfo< T >

The default UniquingSet Info: T supplies its own key.

Definition at line 693 of file FoldingSet.h.

Member Typedef Documentation

◆ KeyTy

template<typename T>
using llvm::UniquingSetInfo< T >::KeyTy = remove_cvref_t<decltype(std::declval<const T &>().getKey())>

Definition at line 694 of file FoldingSet.h.

Member Function Documentation

◆ getHashValue()

template<typename T>
unsigned llvm::UniquingSetInfo< T >::getHashValue ( const KeyTy & Key)
inlinestatic

◆ getKey()

template<typename T>
KeyTy llvm::UniquingSetInfo< T >::getKey ( const T & N)
inlinestatic

Definition at line 695 of file FoldingSet.h.

References N, and T.


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