llvm-project/llvm
Frits van Bommel 23db45e99c Introduce the 'makeArrayRef(...)' family of functions, which fills a similar role for ArrayRef<> as std::make_pair() fills for std::pair<>: they return the right instantiation of ArrayRef<T> based on the types of the parameters.
They mostly mirror the ArrayRef constructors, with two exceptions:
 * There's no function mirroring the default constructor because it wouldn't have any parameters to deduce the right ArrayRef<T> from.
 * There's an explicit SmallVector<T> overload in addition to the SmallVectorImpl<T> overload. Without it, the single-element overload would try to create an ArrayRef<Smallvector<T> > because it's a better match according to the overloading rules. (And both overloads are used in the current tree, so neither is redundant)

llvm-svn: 135389
2011-07-18 11:58:53 +00:00
..
autoconf Add new configure option, --with-bug-report-url, which allows users/vendors to 2011-07-15 00:37:26 +00:00
bindings Update OCaml bindings. Opaque types are gone, type holders are gone and the 2011-07-09 18:29:33 +00:00
cmake The *MCAsmInfo.cpp files use ADT/Triple code, so add the Support dep. 2011-07-15 02:34:03 +00:00
docs document this api change. 2011-07-18 04:56:02 +00:00
examples update for recent api changes. I have a hard time believing that this is actually a useful example. 2011-07-18 04:52:58 +00:00
include Introduce the 'makeArrayRef(...)' family of functions, which fills a similar role for ArrayRef<> as std::make_pair() fills for std::pair<>: they return the right instantiation of ArrayRef<T> based on the types of the parameters. 2011-07-18 11:58:53 +00:00
lib Fix PR10387. 2011-07-18 05:31:59 +00:00
projects Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
runtime Fix build for (some versions of?) MinGW. Patch by Ruben Van Boxem. 2011-06-23 18:24:27 +00:00
test Delete empty unused file. 2011-07-18 05:54:06 +00:00
tools land David Blaikie's patch to de-constify Type, with a few tweaks. 2011-07-18 04:54:35 +00:00
unittests land David Blaikie's patch to de-constify Type, with a few tweaks. 2011-07-18 04:54:35 +00:00
utils Revert r135319 in an attempt to get to unbreak testers. 2011-07-16 09:17:43 +00:00
website
.gitignore Ignore Vim swap files 2011-05-31 21:54:28 +00:00
CMakeLists.txt Fix CMake build on Solaris 2011-07-17 17:35:15 +00:00
CREDITS.TXT For my ego. 2011-07-15 11:26:11 +00:00
LICENSE.TXT Happy new year. 2011-06-12 15:26:54 +00:00
Makefile Install libprofile_rt.dylib where it's more available for gcov support. 2011-06-10 21:47:14 +00:00
Makefile.common
Makefile.config.in build/configure: Add support for --with-extra-ld-options flag (to provide extra 2011-06-16 22:30:38 +00:00
Makefile.rules TableGen'erated MC lowering for simple pseudo-instructions. 2011-07-08 17:36:35 +00:00
ModuleInfo.txt
README.txt reverting test commit 2011-05-12 17:38:08 +00:00
build-for-llvm-top.sh
configure Rename createAsmInfo to createMCAsmInfo and move registration code to MCTargetDesc to prepare for next round of changes. 2011-07-14 23:50:31 +00:00
llvm.spec.in

README.txt

Low Level Virtual Machine (LLVM)
================================

This directory and its subdirectories contain source code for the Low Level
Virtual Machine, a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the HTML documentation provided in docs/index.html for further
assistance with LLVM.

If you're writing a package for LLVM, see docs/Packaging.html for our
suggestions.