From 9769ab22265b313171d201b5928688524a01bd87 Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Thu, 21 Apr 2005 20:19:05 +0000 Subject: Remove trailing whitespace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21408 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Use.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'include/llvm/Use.h') diff --git a/include/llvm/Use.h b/include/llvm/Use.h index bbf523574c..d36e66fe06 100644 --- a/include/llvm/Use.h +++ b/include/llvm/Use.h @@ -1,10 +1,10 @@ //===-- llvm/Use.h - Definition of the Use class ----------------*- C++ -*-===// -// +// // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. -// +// //===----------------------------------------------------------------------===// // // This defines the Use class. The Use class represents the operand of an @@ -114,7 +114,7 @@ public: value_use_iterator(const _Self &I) : U(I.U) {} value_use_iterator() {} - bool operator==(const _Self &x) const { + bool operator==(const _Self &x) const { return U == x.U; } bool operator!=(const _Self &x) const { @@ -125,14 +125,14 @@ public: _Self &operator++() { // Preincrement assert(U && "Cannot increment end iterator!"); U = U->getNext(); - return *this; + return *this; } _Self operator++(int) { // Postincrement - _Self tmp = *this; ++*this; return tmp; + _Self tmp = *this; ++*this; return tmp; } // Retrieve a reference to the current SCC - UserTy *operator*() const { + UserTy *operator*() const { assert(U && "Cannot increment end iterator!"); return U->getUser(); } -- cgit v1.2.3