LLVM  8.0.1
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>
void ilist_alloc_traits::deleteNode ( NodeTy *  V)
inlinestatic

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