fix comments
authorChris Lattner <sabre@nondot.org>
Tue, 15 Feb 2011 00:23:53 +0000 (00:23 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 15 Feb 2011 00:23:53 +0000 (00:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125543 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/ArrayRef.h

index 0ab96ccb9abf136ef83545787020d7faffccf738..1c5470d678b62ef86c3041c06468486794005577 100644 (file)
@@ -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.