LLVM 17.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
Collaboration diagram for llvm::ImmutableListImpl< T >:
Collaboration graph

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)


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 > &  )

Member Function Documentation

◆ getHead()

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

Definition at line 42 of file ImmutableList.h.

◆ getTail()

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

Definition at line 43 of file ImmutableList.h.

References llvm::CallingConv::Tail.

◆ operator=()

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

◆ Profile() [1/2]

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

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 

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 >

Definition at line 1 of file ImmutableList.h.

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