Skip to content

Commit 67905fc

Browse files
committed
Fix some typos in ArrayRef.h
1 parent 5bbaf54 commit 67905fc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

llvm/include/llvm/ADT/ArrayRef.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -308,30 +308,30 @@ namespace llvm {
308308
/// Construct an empty MutableArrayRef from None.
309309
/*implicit*/ MutableArrayRef(NoneType) : ArrayRef<T>() {}
310310

311-
/// Construct an MutableArrayRef from a single element.
311+
/// Construct a MutableArrayRef from a single element.
312312
/*implicit*/ MutableArrayRef(T &OneElt) : ArrayRef<T>(OneElt) {}
313313

314-
/// Construct an MutableArrayRef from a pointer and length.
314+
/// Construct a MutableArrayRef from a pointer and length.
315315
/*implicit*/ MutableArrayRef(T *data, size_t length)
316316
: ArrayRef<T>(data, length) {}
317317

318-
/// Construct an MutableArrayRef from a range.
318+
/// Construct a MutableArrayRef from a range.
319319
MutableArrayRef(T *begin, T *end) : ArrayRef<T>(begin, end) {}
320320

321-
/// Construct an MutableArrayRef from a SmallVector.
321+
/// Construct a MutableArrayRef from a SmallVector.
322322
/*implicit*/ MutableArrayRef(SmallVectorImpl<T> &Vec)
323323
: ArrayRef<T>(Vec) {}
324324

325325
/// Construct a MutableArrayRef from a std::vector.
326326
/*implicit*/ MutableArrayRef(std::vector<T> &Vec)
327327
: ArrayRef<T>(Vec) {}
328328

329-
/// Construct an ArrayRef from a std::array
329+
/// Construct a MutableArrayRef from a std::array
330330
template <size_t N>
331331
/*implicit*/ constexpr MutableArrayRef(std::array<T, N> &Arr)
332332
: ArrayRef<T>(Arr) {}
333333

334-
/// Construct an MutableArrayRef from a C array.
334+
/// Construct a MutableArrayRef from a C array.
335335
template <size_t N>
336336
/*implicit*/ constexpr MutableArrayRef(T (&Arr)[N]) : ArrayRef<T>(Arr) {}
337337

0 commit comments

Comments
 (0)