[PATCH] D29455: [ADT] Delete orphaned doxygen comment in PriorityWorklist

Ronald Wampler via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 2 07:47:59 PST 2017


rdwampler created this revision.

The comment was added in r290952, but I believe the corresponding function was accidentally lost since the fix in r290954 seems related. So a more appropriate diff would add it back, but I am not familiar at all with the code to attempt that. I only noticed this while casually browsing the source code and wasn't sure how else to bring this to your attention so I thought I would submit this diff.


https://reviews.llvm.org/D29455

Files:
  include/llvm/ADT/PriorityWorklist.h


Index: include/llvm/ADT/PriorityWorklist.h
===================================================================
--- include/llvm/ADT/PriorityWorklist.h
+++ include/llvm/ADT/PriorityWorklist.h
@@ -203,11 +203,6 @@
     return true;
   }
 
-  /// Reverse the items in the PriorityWorklist.
-  ///
-  /// This does an in-place reversal. Other kinds of reverse aren't easy to
-  /// support in the face of the worklist semantics.
-
   /// Completely clear the PriorityWorklist
   void clear() {
     M.clear();


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29455.86808.patch
Type: text/x-patch
Size: 506 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170202/92fd0ec5/attachment.bin>


More information about the llvm-commits mailing list