class ilist_node_with_parent

Declaration

template <typename NodeTy, typename ParentTy, class... Options>
class ilist_node_with_parent { /* full declaration omitted */ };

Description

An ilist node that can access its parent list. Requires \c NodeTy to have \a getParent() to find the parent node, and the\c ParentTy to have \a getSublistAccess() to get a reference to the list.

Declared at: llvm/include/llvm/ADT/ilist_node.h:256

Templates

NodeTy
ParentTy
Options

Method Overview

Methods

NodeTy* getNextNode()

Description

Get the next node, or \c nullptr for the list tail.

Declared at: llvm/include/llvm/ADT/ilist_node.h:288

const NodeTy* getNextNode() const

Description

Get the next node, or \c nullptr for the list tail.

Declared at: llvm/include/llvm/ADT/ilist_node.h:297

NodeTy* getPrevNode()

Description

@ { Get the previous node, or \c nullptr for the list head.

Declared at: llvm/include/llvm/ADT/ilist_node.h:274

const NodeTy* getPrevNode() const

Description

Get the previous node, or \c nullptr for the list head.

Declared at: llvm/include/llvm/ADT/ilist_node.h:283

ilist_node_with_parent<NodeTy,
                       ParentTy,
                       Options...>()

Declared at: llvm/include/llvm/ADT/ilist_node.h:258