ADT: Add OwningArrayRef class.
authorPeter Collingbourne <peter@pcc.me.uk>
Tue, 13 Dec 2016 20:24:24 +0000 (20:24 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Tue, 13 Dec 2016 20:24:24 +0000 (20:24 +0000)
commitd9af29969ae313a9b570a89ccea0788d145476f3
tree42fbc3195ad3e0ca90d61bdcae0e89f01089cac8
parent45102a24c77ae8355afefa6a3cd3856474ff7e1c
ADT: Add OwningArrayRef class.

This is a MutableArrayRef that owns its array.
I plan to use this in D22296.

Differential Revision: https://reviews.llvm.org/D27723

llvm-svn: 289579
llvm/include/llvm/ADT/ArrayRef.h