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

Custom traits to do nothing on deletion. More...

#include "llvm/ADT/ilist.h"

Static Public Member Functions

static void deleteNode (NodeTy *V)

Detailed Description

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

Custom traits to do nothing on deletion.

Specialize ilist_alloc_traits to inherit from this to disable the non-intrusive deletion in iplist (which implies ownership).

If you want purely intrusive semantics with no callbacks, consider using simple_ilist instead.

template <>
struct ilist_alloc_traits<MyType> : ilist_noalloc_traits<MyType> {};
Use delete by default for iplist and ilist.
Definition: ilist.h:41
Custom traits to do nothing on deletion.
Definition: ilist.h:57

Definition at line 57 of file ilist.h.

Member Function Documentation

◆ deleteNode()

template<typename NodeTy >
static void llvm::ilist_noalloc_traits< NodeTy >::deleteNode ( NodeTy *  V)

Definition at line 58 of file ilist.h.

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