LLVM  6.0.0svn
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"

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

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> {};

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)
inlinestatic

Definition at line 58 of file ilist.h.


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