[llvm-commits] CVS: llvm/include/llvm/BasicBlock.h

Chris Lattner lattner at cs.uiuc.edu
Mon Mar 14 21:18:02 PST 2005



Changes in directory llvm/include/llvm:

BasicBlock.h updated: 1.50 -> 1.51
---
Log message:

remove reverse BB iterators.


---
Diffs of the changes:  (+0 -7)

 BasicBlock.h |    7 -------
 1 files changed, 7 deletions(-)


Index: llvm/include/llvm/BasicBlock.h
diff -u llvm/include/llvm/BasicBlock.h:1.50 llvm/include/llvm/BasicBlock.h:1.51
--- llvm/include/llvm/BasicBlock.h:1.50	Sat Mar  5 13:51:20 2005
+++ llvm/include/llvm/BasicBlock.h	Mon Mar 14 23:17:48 2005
@@ -65,8 +65,6 @@
   /// Instruction iterators...
   typedef InstListType::iterator                              iterator;
   typedef InstListType::const_iterator                  const_iterator;
-  typedef std::reverse_iterator<const_iterator> const_reverse_iterator;
-  typedef std::reverse_iterator<iterator>             reverse_iterator;
 
   /// BasicBlock ctor - If the function parameter is specified, the basic block
   /// is automatically inserted at either the end of the function (if
@@ -119,11 +117,6 @@
   inline iterator                end  ()       { return InstList.end();   }
   inline const_iterator          end  () const { return InstList.end();   }
 
-  inline reverse_iterator       rbegin()       { return InstList.rbegin(); }
-  inline const_reverse_iterator rbegin() const { return InstList.rbegin(); }
-  inline reverse_iterator       rend  ()       { return InstList.rend();   }
-  inline const_reverse_iterator rend  () const { return InstList.rend();   }
-
   inline size_t                   size() const { return InstList.size();  }
   inline bool                    empty() const { return InstList.empty(); }
   inline const Instruction      &front() const { return InstList.front(); }






More information about the llvm-commits mailing list