[llvm-commits] [llvm] r56190 - /llvm/trunk/include/llvm/Value.h
Gabor Greif
ggreif at gmail.com
Sat Sep 13 11:51:28 PDT 2008
Author: ggreif
Date: Sat Sep 13 13:51:27 2008
New Revision: 56190
URL: http://llvm.org/viewvc/llvm-project?rev=56190&view=rev
Log:
minor correction
Modified:
llvm/trunk/include/llvm/Value.h
Modified: llvm/trunk/include/llvm/Value.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Value.h?rev=56190&r1=56189&r2=56190&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Value.h (original)
+++ llvm/trunk/include/llvm/Value.h Sat Sep 13 13:51:27 2008
@@ -133,7 +133,7 @@
void uncheckedReplaceAllUsesWith(Value *V);
//----------------------------------------------------------------------
- // Methods for handling the vector of uses of this Value.
+ // Methods for handling the chain of uses of this Value.
//
typedef value_use_iterator<User> use_iterator;
typedef value_use_iterator<const User> use_const_iterator;
@@ -144,7 +144,7 @@
use_iterator use_end() { return use_iterator(0); }
use_const_iterator use_end() const { return use_const_iterator(0); }
User *use_back() { return *use_begin(); }
- const User *use_back() const { return *use_begin(); }
+ const User *use_back() const { return *use_begin(); }
/// hasOneUse - Return true if there is exactly one user of this value. This
/// is specialized because it is a common request and does not require
More information about the llvm-commits
mailing list