Support: add llvm::unique_lock
[oota-llvm.git] / include / llvm / IR / Value.h
index 1e86999df6533ad3347e9270154bbecdcb8c1160..8850ffe3bee9cd2f491dcd4ef8fff84c07ee4a99 100644 (file)
@@ -462,6 +462,9 @@ public:
   /// expected to compare two \a Use references.
   template <class Compare> void sortUseList(Compare Cmp);
 
+  /// \brief Reverse the use-list.
+  void reverseUseList();
+
 private:
   /// \brief Merge two lists together.
   ///
@@ -470,7 +473,7 @@ private:
   ///
   /// \return the first element in the list.
   ///
-  /// \note Completely ignores \a Prev (doesn't read, doesn't update).
+  /// \note Completely ignores \a Use::Prev (doesn't read, doesn't update).
   template <class Compare>
   static Use *mergeUseLists(Use *L, Use *R, Compare Cmp) {
     Use *Merged;