LLVM 19.0.0git
Public Member Functions | List of all members
llvm::ilist_callback_traits< NodeTy > Struct Template Reference

Callbacks do nothing by default in iplist and ilist. More...

#include "llvm/ADT/ilist.h"

Inheritance diagram for llvm::ilist_callback_traits< NodeTy >:
Inheritance graph
[legend]

Public Member Functions

void addNodeToList (NodeTy *)
 
void removeNodeFromList (NodeTy *)
 
template<class Iterator >
void transferNodesFromList (ilist_callback_traits &OldList, Iterator, Iterator)
 Callback before transferring nodes to this list.
 

Detailed Description

template<typename NodeTy>
struct llvm::ilist_callback_traits< NodeTy >

Callbacks do nothing by default in iplist and ilist.

Specialize this for to use callbacks for when nodes change their list membership.

Definition at line 65 of file ilist.h.

Member Function Documentation

◆ addNodeToList()

template<typename NodeTy >
void llvm::ilist_callback_traits< NodeTy >::addNodeToList ( NodeTy *  )
inline

Definition at line 66 of file ilist.h.

◆ removeNodeFromList()

template<typename NodeTy >
void llvm::ilist_callback_traits< NodeTy >::removeNodeFromList ( NodeTy *  )
inline

Definition at line 67 of file ilist.h.

◆ transferNodesFromList()

template<typename NodeTy >
template<class Iterator >
void llvm::ilist_callback_traits< NodeTy >::transferNodesFromList ( ilist_callback_traits< NodeTy > &  OldList,
Iterator  ,
Iterator   
)
inline

Callback before transferring nodes to this list.

The nodes may already be in this same list.

Definition at line 72 of file ilist.h.


The documentation for this struct was generated from the following file: