summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/ADT/ArrayRef.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/ADT/ArrayRef.h b/llvm/include/llvm/ADT/ArrayRef.h
index 0ab96ccb9ab..1c5470d678b 100644
--- a/llvm/include/llvm/ADT/ArrayRef.h
+++ b/llvm/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.
OpenPOWER on IntegriCloud