fix comments

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125543 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2011-02-15 00:23:53 +00:00
parent 2ca5c8644e
commit 04b2f0d99f

View File

@ -73,10 +73,10 @@ namespace llvm {
iterator begin() const { return Data; } iterator begin() const { return Data; }
iterator end() const { return Data + Length; } 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; } bool empty() const { return Length == 0; }
/// size - Get the string size. /// size - Get the array size.
size_t size() const { return Length; } size_t size() const { return Length; }
/// front - Get the first element. /// front - Get the first element.