Sentinel node that marks the end of an intrusive list.

Synopsis

Declared in <llvm/ADT/ilist_node.h>

template<class OptionsT>
class ilist_sentinel
    : public ilist_node_impl<OptionsT>

Base Classes

Name

Description

ilist_node_impl<OptionsT>

Implementation for an ilist node.

Member Functions

Name

Description

ilist_sentinel [constructor]

Construct an empty circular list sentinel.

empty

Return true if the list contains no real nodes (only this sentinel).

getIterator

getIterator overloads

getParent

getParent overloads

getReverseIterator

getReverseIterator overloads

isSentinel

Check whether this is the sentinel node.

reset

Reset prev/next links so the list is empty (sentinel points to itself).

setParent

Record Parent as the owner of this node.

Using Declarations

Name

Description

isKnownSentinel

Return whether this node is known to be a list sentinel.

Protected Type Aliases

Name

Description

const_reverse_self_iterator

Const reverse iterator referring to this node.

const_self_iterator

Forward const iterator referring to this node.

reverse_self_iterator

Reverse mutable iterator referring to this node.

self_iterator

Forward mutable iterator referring to this node.

Created with MrDocs