Skip to content

Commit af5a656

Browse files
authored
[IR] Remove unused method InstIterator::atEnd (#120611)
1 parent 6a01ac7 commit af5a656

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/include/llvm/IR/InstIterator.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,6 @@ template <class BB_t, class BB_i_t, class BI_t, class II_t> class InstIterator {
104104
InstIterator tmp = *this; --*this; return tmp;
105105
}
106106

107-
inline bool atEnd() const { return BB == BBs->end(); }
108-
109107
private:
110108
inline void advanceToNextBB() {
111109
// The only way that the II could be broken is if it is now pointing to

0 commit comments

Comments
 (0)