llvm::iplist_impl::clearAndLeakNodesUnsafely

Remove all nodes from the list like clear(), but do not call removeNodeFromList() or deleteNode().

Synopsis

Declared in <llvm/ADT/ilist.h>

void
clearAndLeakNodesUnsafely();

Description

This should only be used immediately before freeing nodes in bulk to avoid traversing the list and bringing all the nodes into cache.