aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-02-15 00:23:53 +0000
committerChris Lattner <sabre@nondot.org>2011-02-15 00:23:53 +0000
commit04b2f0d99feb9cdf87eb8f35483816d757d170dd (patch)
tree13ff7b0ddc32a2d71eac1f1f86fedd51e6de4dbf
parent2ca5c8644e6c35b3a7910a576ed89cddb7b82c3b (diff)
downloadexternal_llvm-04b2f0d99feb9cdf87eb8f35483816d757d170dd.zip
external_llvm-04b2f0d99feb9cdf87eb8f35483816d757d170dd.tar.gz
external_llvm-04b2f0d99feb9cdf87eb8f35483816d757d170dd.tar.bz2
fix comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125543 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/ADT/ArrayRef.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/ADT/ArrayRef.h b/include/llvm/ADT/ArrayRef.h
index 0ab96cc..1c5470d 100644
--- a/include/llvm/ADT/ArrayRef.h
+++ b/include/llvm/ADT/ArrayRef.h
@@ -73,10 +73,10 @@ namespace llvm {
iterator begin() const { return Data; }
iterator end() const { return Data + Length; }
- /// empty - Check if the string is empty.
+ /// empty - Check if the array is empty.
bool empty() const { return Length == 0; }
- /// size - Get the string size.
+ /// size - Get the array size.
size_t size() const { return Length; }
/// front - Get the first element.