llvm-6502/unittests
David Blaikie 78b4fd3a4b SmallVector: support resize(N) with move-only types
Unfortunately there's no way to elegantly do this with pre-canned
algorithms. Using a generating iterator doesn't work because you default
construct for each element, then move construct into the actual slot
(bad for copy but non-movable types, and a little unneeded overhead even
in the move-only case), so just write it out manually.

This solution isn't exception safe (if one of the element's ctors calls
we don't fall back, destroy the constructed elements, and throw on -
which std::uninitialized_fill does do) but SmallVector (and LLVM) isn't
exception safe anyway.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210495 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-09 22:26:20 +00:00
..
ADT SmallVector: support resize(N) with move-only types 2014-06-09 22:26:20 +00:00
Analysis [C++11] Use 'nullptr'. 2014-06-08 22:29:17 +00:00
Bitcode
CodeGen
DebugInfo
ExecutionEngine [C++11] Use 'nullptr'. 2014-06-08 22:29:17 +00:00
IR [C++11] Use 'nullptr'. 2014-06-08 22:29:17 +00:00
LineEditor raw_ostream: Forward declare OpenFlags and include FileSystem.h only where necessary. 2014-04-29 23:26:49 +00:00
Linker [C++11] Use 'nullptr'. 2014-06-08 22:29:17 +00:00
MC
Object ELFObjectWriter: deduplicate suffices in strtab 2014-04-30 16:25:02 +00:00
Option
Support [C++11] Use 'nullptr'. 2014-06-08 22:29:17 +00:00
Transforms [C++11] Use 'nullptr'. 2014-06-08 22:29:17 +00:00
CMakeLists.txt [CMake] Enable llvm/unittests/LinkerTests. It had not been enabled since r199354. 2014-04-29 15:52:36 +00:00
Makefile
Makefile.unittest