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

Use delete by default for iplist and ilist. More...

#include "llvm/ADT/ilist.h"

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

Static Public Member Functions

static void deleteNode (NodeTy *V)
 

Detailed Description

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

Use delete by default for iplist and ilist.

Specialize this to get different behaviour for ownership-related API. (If you really want ownership semantics, consider using std::list or building something like BumpPtrList.)

See also
ilist_noalloc_traits

Definition at line 41 of file ilist.h.

Member Function Documentation

◆ deleteNode()

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

Definition at line 42 of file ilist.h.


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