diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2005-04-21 20:19:05 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2005-04-21 20:19:05 +0000 |
commit | 9769ab22265b313171d201b5928688524a01bd87 (patch) | |
tree | 4215db61d3b617687d0eec4ed3caf7dbf973f4ca /include/llvm/Use.h | |
parent | 109026290b3b07152322e65801edb51dccfe7ddc (diff) | |
download | llvm-9769ab22265b313171d201b5928688524a01bd87.tar.gz llvm-9769ab22265b313171d201b5928688524a01bd87.tar.bz2 llvm-9769ab22265b313171d201b5928688524a01bd87.tar.xz |
Remove trailing whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21408 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Use.h')
-rw-r--r-- | include/llvm/Use.h | 12 |
1 files changed, 6 insertions, 6 deletions
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(); } |