class ImmutableListImpl
Declaration
template <typename T>
class ImmutableListImpl : public Node { /* full declaration omitted */ };
Declared at: llvm/include/llvm/ADT/ImmutableList.h:28
Inherits from: FoldingSetBase::Node
Templates
- T
Member Variables
- private T Head
- private const ImmutableListImpl<T>* Tail
Method Overview
- public ImmutableListImpl<T>(const ImmutableListImpl<T> &)
- private template <typename ElemT> ImmutableListImpl<T>(ElemT && head, const ImmutableListImpl<T> * tail = nullptr)
- public static inline void Profile(llvm::FoldingSetNodeID & ID, const T & H, const ImmutableListImpl<T> * L)
- public void Profile(llvm::FoldingSetNodeID & ID)
- public const T & getHead() const
- public const ImmutableListImpl<T> * getTail() const
Inherited from FoldingSetBase::Node:
Methods
¶ImmutableListImpl<T>(const ImmutableListImpl<T>&)
ImmutableListImpl<T>(const ImmutableListImpl<T>&)
Declared at: llvm/include/llvm/ADT/ImmutableList.h:39
Parameters
- const ImmutableListImpl<T>&
¶template <typename ElemT>
ImmutableListImpl<T>(
ElemT&& head,
const ImmutableListImpl<T>* tail = nullptr)
template <typename ElemT>
ImmutableListImpl<T>(
ElemT&& head,
const ImmutableListImpl<T>* tail = nullptr)
Declared at: llvm/include/llvm/ADT/ImmutableList.h:35
Templates
- ElemT
Parameters
- ElemT&& head
- const ImmutableListImpl<T>* tail = nullptr
¶static inline void Profile(
llvm::FoldingSetNodeID& ID,
const T& H,
const ImmutableListImpl<T>* L)
static inline void Profile(
llvm::FoldingSetNodeID& ID,
const T& H,
const ImmutableListImpl<T>* L)
Declared at: llvm/include/llvm/ADT/ImmutableList.h:45
Parameters
- llvm::FoldingSetNodeID& ID
- const T& H
- const ImmutableListImpl<T>* L
¶void Profile(llvm::FoldingSetNodeID& ID)
void Profile(llvm::FoldingSetNodeID& ID)
Declared at: llvm/include/llvm/ADT/ImmutableList.h:51
Parameters
¶const T& getHead() const
const T& getHead() const
Declared at: llvm/include/llvm/ADT/ImmutableList.h:42
¶const ImmutableListImpl<T>* getTail() const
const ImmutableListImpl<T>* getTail() const
Declared at: llvm/include/llvm/ADT/ImmutableList.h:43