Add an ArrayRef upcasting constructor from ArrayRef<U*> -> ArrayRef<T*> where T is...
authorMichael Gottesman <mgottesman@apple.com>
Wed, 31 Dec 2014 23:33:18 +0000 (23:33 +0000)
committerMichael Gottesman <mgottesman@apple.com>
Wed, 31 Dec 2014 23:33:18 +0000 (23:33 +0000)
commit735f1df04946326b978a97c8ba7676a43498c606
tree59b6a04a7e6cf8cda249993c4fb0fc0d6f4f0902
parent28650b8ec29161f0ba8c6c214501d5ef2505a206
Add an ArrayRef upcasting constructor from ArrayRef<U*> -> ArrayRef<T*> where T is a base of U.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225053 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/ArrayRef.h
unittests/ADT/ArrayRefTest.cpp