[llvm-commits] [llvm] r125543 - /llvm/trunk/include/llvm/ADT/ArrayRef.h
Chris Lattner
sabre at nondot.org
Mon Feb 14 16:23:53 PST 2011
Author: lattner
Date: Mon Feb 14 18:23:53 2011
New Revision: 125543
URL: http://llvm.org/viewvc/llvm-project?rev=125543&view=rev
Log:
fix comments
Modified:
llvm/trunk/include/llvm/ADT/ArrayRef.h
Modified: llvm/trunk/include/llvm/ADT/ArrayRef.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/ArrayRef.h?rev=125543&r1=125542&r2=125543&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/ArrayRef.h (original)
+++ llvm/trunk/include/llvm/ADT/ArrayRef.h Mon Feb 14 18:23:53 2011
@@ -73,10 +73,10 @@
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.
More information about the llvm-commits
mailing list