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

#include "llvm/ADT/ImmutableList.h"

Public Member Functions

 ImmutableListFactory ()
 
 ImmutableListFactory (BumpPtrAllocator &Alloc)
 
 ~ImmutableListFactory ()
 
template<typename ElemT >
ImmutableList< Tconcat (ElemT &&Head, ImmutableList< T > Tail)
 
template<typename ElemT >
ImmutableList< Tadd (ElemT &&Data, ImmutableList< T > L)
 
template<typename... CtorArgs>
ImmutableList< Templace (ImmutableList< T > Tail, CtorArgs &&...Args)
 
ImmutableList< TgetEmptyList () const
 
template<typename ElemT >
ImmutableList< Tcreate (ElemT &&Data)
 

Detailed Description

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

Definition at line 150 of file ImmutableList.h.

Constructor & Destructor Documentation

◆ ImmutableListFactory() [1/2]

template<typename T >
llvm::ImmutableListFactory< T >::ImmutableListFactory ( )
inline

Definition at line 166 of file ImmutableList.h.

References Allocator.

◆ ImmutableListFactory() [2/2]

template<typename T >
llvm::ImmutableListFactory< T >::ImmutableListFactory ( BumpPtrAllocator Alloc)
inline

Definition at line 169 of file ImmutableList.h.

References Allocator.

◆ ~ImmutableListFactory()

template<typename T >
llvm::ImmutableListFactory< T >::~ImmutableListFactory ( )
inline

Definition at line 172 of file ImmutableList.h.

Member Function Documentation

◆ add()

template<typename T >
template<typename ElemT >
ImmutableList< T > llvm::ImmutableListFactory< T >::add ( ElemT &&  Data,
ImmutableList< T L 
)
inline

Definition at line 200 of file ImmutableList.h.

References llvm::ImmutableListFactory< T >::concat(), and llvm::Data.

◆ concat()

template<typename T >
template<typename ElemT >
ImmutableList< T > llvm::ImmutableListFactory< T >::concat ( ElemT &&  Head,
ImmutableList< T Tail 
)
inline

◆ create()

template<typename T >
template<typename ElemT >
ImmutableList< T > llvm::ImmutableListFactory< T >::create ( ElemT &&  Data)
inline

◆ emplace()

template<typename T >
template<typename... CtorArgs>
ImmutableList< T > llvm::ImmutableListFactory< T >::emplace ( ImmutableList< T Tail,
CtorArgs &&...  Args 
)
inline

◆ getEmptyList()

template<typename T >
ImmutableList< T > llvm::ImmutableListFactory< T >::getEmptyList ( ) const
inline

Definition at line 210 of file ImmutableList.h.

Referenced by llvm::ImmutableListFactory< T >::create().


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