[PATCH] D93953: NFC: Remove simple_ilist comment mentioning ilist/iplist allocating

Nathan Lanza via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 30 19:34:53 PST 2020


lanza created this revision.
Herald added a subscriber: dexonsmith.
lanza requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Allocation was removed from ilist in 2016


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D93953

Files:
  llvm/include/llvm/ADT/simple_ilist.h


Index: llvm/include/llvm/ADT/simple_ilist.h
===================================================================
--- llvm/include/llvm/ADT/simple_ilist.h
+++ llvm/include/llvm/ADT/simple_ilist.h
@@ -28,8 +28,8 @@
 /// This is a simple intrusive list for a \c T that inherits from \c
 /// ilist_node<T>.  The list never takes ownership of anything inserted in it.
 ///
-/// Unlike \a iplist<T> and \a ilist<T>, \a simple_ilist<T> never allocates or
-/// deletes values, and has no callback traits.
+/// Unlike \a iplist<T> and \a ilist<T>, \a simple_ilist<T> never deletes
+/// values, and has no callback traits.
 ///
 /// The API for adding nodes include \a push_front(), \a push_back(), and \a
 /// insert().  These all take values by reference (not by pointer), except for


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93953.314166.patch
Type: text/x-patch
Size: 775 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201231/26fc31ef/attachment.bin>


More information about the llvm-commits mailing list