LLVM 20.0.0git
Public Member Functions | List of all members
llvm::FoldingSetNodeWrapper< T > Class Template Reference

FoldingSetNodeWrapper - This template class is used to "wrap" arbitrary types in an enclosing object so that they can be inserted into FoldingSets. More...

#include "llvm/ADT/FoldingSet.h"

Inheritance diagram for llvm::FoldingSetNodeWrapper< T >:
Inheritance graph
[legend]

Public Member Functions

template<typename... Ts>
 FoldingSetNodeWrapper (Ts &&... Args)
 
void Profile (FoldingSetNodeID &ID)
 
TgetValue ()
 
const TgetValue () const
 
 operator T& ()
 
 operator const T & () const
 
- Public Member Functions inherited from llvm::FoldingSetBase::Node
 Node ()=default
 
void * getNextInBucket () const
 
void SetNextInBucket (void *N)
 

Detailed Description

template<typename T>
class llvm::FoldingSetNodeWrapper< T >

FoldingSetNodeWrapper - This template class is used to "wrap" arbitrary types in an enclosing object so that they can be inserted into FoldingSets.

Definition at line 798 of file FoldingSet.h.

Constructor & Destructor Documentation

◆ FoldingSetNodeWrapper()

template<typename T >
template<typename... Ts>
llvm::FoldingSetNodeWrapper< T >::FoldingSetNodeWrapper ( Ts &&...  Args)
inlineexplicit

Definition at line 803 of file FoldingSet.h.

Member Function Documentation

◆ getValue() [1/2]

template<typename T >
T & llvm::FoldingSetNodeWrapper< T >::getValue ( )
inline

Definition at line 808 of file FoldingSet.h.

◆ getValue() [2/2]

template<typename T >
const T & llvm::FoldingSetNodeWrapper< T >::getValue ( ) const
inline

Definition at line 809 of file FoldingSet.h.

◆ operator const T &()

template<typename T >
llvm::FoldingSetNodeWrapper< T >::operator const T & ( ) const
inline

Definition at line 812 of file FoldingSet.h.

◆ operator T&()

template<typename T >
llvm::FoldingSetNodeWrapper< T >::operator T& ( )
inline

Definition at line 811 of file FoldingSet.h.

◆ Profile()

template<typename T >
void llvm::FoldingSetNodeWrapper< T >::Profile ( FoldingSetNodeID ID)
inline

Definition at line 806 of file FoldingSet.h.

References llvm::DefaultFoldingSetTrait< T >::Profile().


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