Cosmetic change.
[oota-llvm.git] / include / llvm / Use.h
index c88d41f700544007ad8dd1cbf0778c58f3efb66d..ce13648f9b883314ad80378e1f19744b52360cd2 100644 (file)
@@ -120,6 +120,9 @@ public:
   bool operator!=(const _Self &x) const {
     return !operator==(x);
   }
+  
+  /// atEnd - return true if this iterator is equal to use_end() on the value.
+  bool atEnd() const { return U == 0; }
 
   // Iterator traversal: forward iteration only
   _Self &operator++() {          // Preincrement