class ImmutableListFactory

Declaration

template <typename T>
class ImmutableListFactory { /* full declaration omitted */ };

Declared at: llvm/include/llvm/ADT/ImmutableList.h:150

Templates

T

Member Variables

private llvm::ImmutableListFactory::CacheTy Cache
private uintptr_t Allocator

Method Overview

Methods

ImmutableListFactory<T>()

Declared at: llvm/include/llvm/ADT/ImmutableList.h:166

ImmutableListFactory<T>(
    llvm::BumpPtrAllocator& Alloc)

Declared at: llvm/include/llvm/ADT/ImmutableList.h:169

Parameters

llvm::BumpPtrAllocator& Alloc

template <typename ElemT>
ImmutableList<T> add(ElemT&& Data,
                     ImmutableList<T> L)

Declared at: llvm/include/llvm/ADT/ImmutableList.h:200

Templates

ElemT

Parameters

ElemT&& Data
ImmutableList<T> L

template <typename ElemT>
ImmutableList<T> concat(ElemT&& Head,
                        ImmutableList<T> Tail)

Declared at: llvm/include/llvm/ADT/ImmutableList.h:177

Templates

ElemT

Parameters

ElemT&& Head
ImmutableList<T> Tail

template <typename ElemT>
ImmutableList<T> create(ElemT&& Data)

Declared at: llvm/include/llvm/ADT/ImmutableList.h:215

Templates

ElemT

Parameters

ElemT&& Data

template <typename... CtorArgs>
ImmutableList<T> emplace(ImmutableList<T> Tail,
                         CtorArgs&&... Args)

Declared at: llvm/include/llvm/ADT/ImmutableList.h:205

Templates

CtorArgs

Parameters

ImmutableList<T> Tail
CtorArgs&&... Args

llvm::BumpPtrAllocator& getAllocator() const

Declared at: llvm/include/llvm/ADT/ImmutableList.h:161

ImmutableList<T> getEmptyList() const

Declared at: llvm/include/llvm/ADT/ImmutableList.h:210

bool ownsAllocator() const

Declared at: llvm/include/llvm/ADT/ImmutableList.h:157

~ImmutableListFactory<T>()

Declared at: llvm/include/llvm/ADT/ImmutableList.h:172