Skip to content

Commit 856a879

Browse files
committed
fixup! Remove atEnd.
1 parent e4962ca commit 856a879

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

llvm/include/llvm/CodeGen/SelectionDAGNodes.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -806,9 +806,6 @@ END_TWO_BYTE_PACK()
806806
return !operator==(x);
807807
}
808808

809-
/// Return true if this iterator is at the end of uses list.
810-
bool atEnd() const { return Op == nullptr; }
811-
812809
// Iterator traversal: forward iteration only.
813810
use_iterator &operator++() { // Preincrement
814811
assert(Op && "Cannot increment end iterator!");
@@ -853,9 +850,6 @@ END_TWO_BYTE_PACK()
853850
bool operator==(const user_iterator &x) const { return UI == x.UI; }
854851
bool operator!=(const user_iterator &x) const { return !operator==(x); }
855852

856-
/// Return true if this iterator is at the end of the uses list.
857-
bool atEnd() const { return *this == user_iterator(); }
858-
859853
user_iterator &operator++() { // Preincrement
860854
++UI;
861855
return *this;

0 commit comments

Comments
 (0)