[PATCH] D27723: ADT: Add OwningArrayRef class.
Eugene Zelenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 13 16:59:05 PST 2016
Eugene.Zelenko added inline comments.
================
Comment at: llvm/trunk/include/llvm/ADT/ArrayRef.h:419
+ public:
+ OwningArrayRef() {}
+ OwningArrayRef(size_t Size) : MutableArrayRef<T>(new T[Size], Size) {}
----------------
Please use = default;
Repository:
rL LLVM
https://reviews.llvm.org/D27723
More information about the llvm-commits
mailing list