LLVM 19.0.0git
Public Member Functions | Static Public Member Functions | Friends | List of all members
llvm::ImmutableListImpl< T > Class Template Reference

#include "llvm/ADT/ImmutableList.h"

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

Public Member Functions

 ImmutableListImpl (const ImmutableListImpl &)=delete
 
ImmutableListImploperator= (const ImmutableListImpl &)=delete
 
const TgetHead () const
 
const ImmutableListImplgetTail () const
 
void Profile (FoldingSetNodeID &ID)
 
- Public Member Functions inherited from llvm::FoldingSetBase::Node
 Node ()=default
 
void * getNextInBucket () const
 
void SetNextInBucket (void *N)
 

Static Public Member Functions

static void Profile (FoldingSetNodeID &ID, const T &H, const ImmutableListImpl *L)
 

Friends

class ImmutableListFactory< T >
 

Detailed Description

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

Definition at line 28 of file ImmutableList.h.

Constructor & Destructor Documentation

◆ ImmutableListImpl()

template<typename T >
llvm::ImmutableListImpl< T >::ImmutableListImpl ( const ImmutableListImpl< T > &  )
delete

Member Function Documentation

◆ getHead()

template<typename T >
const T & llvm::ImmutableListImpl< T >::getHead ( ) const
inline

Definition at line 42 of file ImmutableList.h.

◆ getTail()

template<typename T >
const ImmutableListImpl * llvm::ImmutableListImpl< T >::getTail ( ) const
inline

Definition at line 43 of file ImmutableList.h.

References llvm::CallingConv::Tail.

◆ operator=()

template<typename T >
ImmutableListImpl & llvm::ImmutableListImpl< T >::operator= ( const ImmutableListImpl< T > &  )
delete

◆ Profile() [1/2]

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

Definition at line 51 of file ImmutableList.h.

References Profile, and llvm::CallingConv::Tail.

◆ Profile() [2/2]

template<typename T >
static void llvm::ImmutableListImpl< T >::Profile ( FoldingSetNodeID ID,
const T H,
const ImmutableListImpl< T > *  L 
)
inlinestatic

Definition at line 45 of file ImmutableList.h.

References H.

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

Friends And Related Function Documentation

◆ ImmutableListFactory< T >

template<typename T >
friend class ImmutableListFactory< T >
friend

Definition at line 1 of file ImmutableList.h.


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