Cons‐cell node for an immutable list: a head element and a tail pointer.
Synopsis
Declared in <llvm/ADT/ImmutableList.h>
template<typename T>
class ImmutableListImpl
: public FoldingSetNode
Description
Nodes are uniqued by ImmutableListFactory and live in a folding set.
Base Classes
Name |
Description |
Convenience alias for the base node type stored in a folding set. |
Member Functions
Name |
Description |
|
Copy construction is deleted; nodes are uniquely owned by the factory. |
|
Copy assignment is deleted; nodes are uniquely owned by the factory. |
Profile this node's head and tail into folding‐set ID |
|
Return the element stored at the head of this cons cell. |
|
Return the tail list node, or null if this is the last element. |
Static Member Functions
Name |
Description |
Profile head |
Friends
Name |
Description |
Factory that allocates and uniques immutable lists of element type |
Created with MrDocs