Go to file
Pete Cooper 7c4d7b8fbe Construct ArrayRef<const T*> from vector<T>
ArrayRef already has a SFINAE constructor which can construct ArrayRef<const T*> from ArrayRef<T*>.

This adds methods to do the same directly from SmallVector and std::vector.  This avoids an intermediate step through the use of makeArrayRef.

Also update the users of this in LICM and SROA to remove the now unnecessary makeArrayRef call.

Reviewed by David Blaikie.

llvm-svn: 237309
2015-05-13 22:43:09 +00:00
clang Break \# in a depfile the same way as gcc. 2015-05-13 22:33:50 +00:00
clang-tools-extra [clang-tidy] Treat all types with non-trivial destructors as RAII. 2015-05-12 12:17:20 +00:00
compiler-rt Include missing 'sanitizer_platform_limits_posix.h' 2015-05-12 21:30:16 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Use a more accurate implementation for exp 2015-05-13 03:55:09 +00:00
libcxx Implement std::experimental::sample. 2015-05-13 16:55:41 +00:00
libcxxabi LIBCXXABI_LIBUNWIND_INCLUDES is already set before calling find_path, and find_path will not update it. 2015-05-09 21:03:01 +00:00
libunwind unwind: permit building against libstdc++ 2015-05-11 16:35:13 +00:00
lld [LLD] Properly relocate the LSDA field of MachO eh-frames. 2015-05-13 00:44:47 +00:00
lldb Add AArch64 and MIPS breakpoint opcodes and sort cases 2015-05-13 22:40:01 +00:00
llgo benchcomp: Add macho_symsizes mode for comparing Mach-O object symbol sizes. 2015-05-12 22:14:26 +00:00
llvm Construct ArrayRef<const T*> from vector<T> 2015-05-13 22:43:09 +00:00
openmp Removed mentioning of OpenMP as unsupported feature (patch2 from A.Bokhanko) 2015-05-13 13:42:59 +00:00
polly Update isl to 9f767f1766a0 2015-05-13 13:10:13 +00:00