LLVM 22.0.0git
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 >:
[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 801 of file FoldingSet.h.

Constructor & Destructor Documentation

◆ FoldingSetNodeWrapper()

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

Definition at line 806 of file FoldingSet.h.

Member Function Documentation

◆ getValue() [1/2]

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

Definition at line 811 of file FoldingSet.h.

References T.

◆ getValue() [2/2]

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

Definition at line 812 of file FoldingSet.h.

References T.

◆ operator const T &()

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

Definition at line 815 of file FoldingSet.h.

References T.

◆ operator T&()

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

Definition at line 814 of file FoldingSet.h.

References T.

◆ Profile()

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

Definition at line 809 of file FoldingSet.h.

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


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