forked from OSchip/llvm-project
parent
f4693e289a
commit
a113655c79
|
@ -80,11 +80,11 @@ struct ilist_default_traits : ilist_nextprev_traits<NodeTy>,
|
||||||
static NodeTy *createNode(const NodeTy &V) { return new NodeTy(V); }
|
static NodeTy *createNode(const NodeTy &V) { return new NodeTy(V); }
|
||||||
static void deleteNode(NodeTy *V) { delete V; }
|
static void deleteNode(NodeTy *V) { delete V; }
|
||||||
|
|
||||||
void addNodeToList(NodeTy *NTy) {}
|
void addNodeToList(NodeTy *) {}
|
||||||
void removeNodeFromList(NodeTy *NTy) {}
|
void removeNodeFromList(NodeTy *) {}
|
||||||
void transferNodesFromList(ilist_default_traits &SrcTraits,
|
void transferNodesFromList(ilist_default_traits & /*SrcTraits*/,
|
||||||
ilist_iterator<NodeTy> first,
|
ilist_iterator<NodeTy> /*first*/,
|
||||||
ilist_iterator<NodeTy> last) {}
|
ilist_iterator<NodeTy> /*last*/) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
// Template traits for intrusive list. By specializing this template class, you
|
// Template traits for intrusive list. By specializing this template class, you
|
||||||
|
|
Loading…
Reference in New Issue