aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-03-15 05:17:48 +0000
committerChris Lattner <sabre@nondot.org>2005-03-15 05:17:48 +0000
commit4d24a5d450d7dc91c719c354f86177f22b37bd00 (patch)
tree5b61be7b48f792f434a6af7e54d6bb5f4d609903
parent6ca71751afadc68815906912faaa0abbe2192654 (diff)
remove reverse BB iterators.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20601 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/BasicBlock.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/llvm/BasicBlock.h b/include/llvm/BasicBlock.h
index ad509bb2cc..38ac109365 100644
--- a/include/llvm/BasicBlock.h
+++ b/include/llvm/BasicBlock.h
@@ -65,8 +65,6 @@ public:
/// 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 @@ public:
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(); }