aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2008-09-13 18:51:27 +0000
committerGabor Greif <ggreif@gmail.com>2008-09-13 18:51:27 +0000
commitbfe2f407db4cfb27f7e0cebbffcd3db8d53f864c (patch)
treead63de07e427de2be3ebecc8efe4290485fc4cb2
parent014278e6a11fa0767853b831e5bf51b95bf541c5 (diff)
minor correction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56190 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Value.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Value.h b/include/llvm/Value.h
index ceb1ad246d..1d2c61ea19 100644
--- a/include/llvm/Value.h
+++ b/include/llvm/Value.h
@@ -133,7 +133,7 @@ public:
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 @@ public:
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