@@ -308,30 +308,30 @@ namespace llvm {
308
308
// / Construct an empty MutableArrayRef from None.
309
309
/* implicit*/ MutableArrayRef(NoneType) : ArrayRef<T>() {}
310
310
311
- // / Construct an MutableArrayRef from a single element.
311
+ // / Construct a MutableArrayRef from a single element.
312
312
/* implicit*/ MutableArrayRef(T &OneElt) : ArrayRef<T>(OneElt) {}
313
313
314
- // / Construct an MutableArrayRef from a pointer and length.
314
+ // / Construct a MutableArrayRef from a pointer and length.
315
315
/* implicit*/ MutableArrayRef(T *data, size_t length)
316
316
: ArrayRef<T>(data, length) {}
317
317
318
- // / Construct an MutableArrayRef from a range.
318
+ // / Construct a MutableArrayRef from a range.
319
319
MutableArrayRef (T *begin, T *end) : ArrayRef<T>(begin, end) {}
320
320
321
- // / Construct an MutableArrayRef from a SmallVector.
321
+ // / Construct a MutableArrayRef from a SmallVector.
322
322
/* implicit*/ MutableArrayRef(SmallVectorImpl<T> &Vec)
323
323
: ArrayRef<T>(Vec) {}
324
324
325
325
// / Construct a MutableArrayRef from a std::vector.
326
326
/* implicit*/ MutableArrayRef(std::vector<T> &Vec)
327
327
: ArrayRef<T>(Vec) {}
328
328
329
- // / Construct an ArrayRef from a std::array
329
+ // / Construct a MutableArrayRef from a std::array
330
330
template <size_t N>
331
331
/* implicit*/ constexpr MutableArrayRef (std::array<T, N> &Arr)
332
332
: ArrayRef<T>(Arr) {}
333
333
334
- // / Construct an MutableArrayRef from a C array.
334
+ // / Construct a MutableArrayRef from a C array.
335
335
template <size_t N>
336
336
/* implicit*/ constexpr MutableArrayRef (T (&Arr)[N]) : ArrayRef<T>(Arr) {}
337
337
0 commit comments