summaryrefslogtreecommitdiffstats
path: root/libcxx/test/containers/sequences/vector/vector.cons
Commit message (Collapse)AuthorAgeFilesLines
* Move test into test/std subdirectory.Eric Fiselier2014-12-2021-1255/+0
| | | | llvm-svn: 224658
* Add Address Sanitizer support to std::vectorMarshall Clow2014-05-0815-0/+105
| | | | llvm-svn: 208319
* Implement LWG 2193. Default constructors for standard library containers are ↵Marshall Clow2014-03-051-0/+6
| | | | | | explicit. Note that libc++ already did this for string/deque/forward_list/list/vector and the unordered containers; implement it for set/multiset/map/multimap. Add tests for all the containers. Two drive-by fixes as well: add a missing explicit in <deque>, and remove a tab that snuck into a container test. This issue is also LLVM bug 15724, and resolves it. llvm-svn: 202994
* Add a test to make sure that vector supports incomplete typesMarshall Clow2014-02-131-0/+23
| | | | llvm-svn: 201349
* Found six (nmostly) identical files named 'test_allocator.h' in the libcxx ↵Marshall Clow2013-12-0313-13/+13
| | | | | | test suite. Moved one to /support, made it a superset, and removed all but one of the others, and iupdated all the includes. Left the odd one (thread/futures/test_allocator.h) for later. llvm-svn: 196174
* Found two identical files named 'DefaultOnly.h' in the libcxx test suite. ↵Marshall Clow2013-12-021-1/+1
| | | | | | Moved one to /support, removed the other, and iupdated all the includes. No functionality change llvm-svn: 196118
* There were two identical files named 'min_allocator.h'. Move one of them to ↵Marshall Clow2013-11-2616-16/+16
| | | | | | /support and delete the other. Then adjust all the tests that used them to include the moved one. No functionality change. llvm-svn: 195785
* Peter Collingbourne: If a pointer is passed as the third argument of the ↵Howard Hinnant2013-09-211-2/+14
| | | | | | | | | | | | (iterator, iterator, allocator) constructor with the intention of it being implicitly converted to the allocator type, it is possible for overload resolution to favour the (iterator, iterator, enable_if) constructor. Eliminate this possibility by moving the enable_if to one of the existing arguments and removing the third argument. llvm-svn: 191145
* LWG Issue 2210 (Part #7): vector and vector<bool>Marshall Clow2013-09-141-1/+27
| | | | llvm-svn: 190736
* Implement full support for non-pointer pointers in custom allocators for vector.Howard Hinnant2013-06-2716-0/+203
| | | | llvm-svn: 185093
* Revert r178075, "Tighten up the iterator requirements ...", it breaks LLVMDaniel Dunbar2013-03-271-7/+0
| | | | | | bootstrap with libc++. llvm-svn: 178116
* Tighten up the iterator requirements for the vector member templates. This ↵Howard Hinnant2013-03-261-0/+7
| | | | | | is especially important for the constructors so that is_constructible<vector<T>, I, I> gives the right answer when T can not be constructed from *I. Test case included for this latter point. llvm-svn: 178075
* Another vector debug mode test, and a static test on Allocator::value_type. ↵Howard Hinnant2013-03-261-0/+8
| | | | | | This partially addresses http://llvm.org/bugs/show_bug.cgi?id=15576. llvm-svn: 178064
* Move common header files into a 'support' directory; make 'testit' include ↵Marshall Clow2013-01-052-2/+2
| | | | | | -I to that directory; rename 'iterators.h' to 'iterator_test.h'; remove hard-coded paths to include files from more than 350 source files llvm-svn: 171594
* Removed several more different 'iterators.h' files in libcxx/testMarshall Clow2013-01-032-2/+2
| | | | llvm-svn: 171452
* Fixed PR10574: http://llvm.org/bugs/show_bug.cgi?id=10574Howard Hinnant2011-08-124-8/+8
| | | | llvm-svn: 137522
* noexcept for <vector>. This also includes installing move_if_noexcept() ↵Howard Hinnant2011-06-034-0/+204
| | | | | | into vector. llvm-svn: 132577
* license changeHoward Hinnant2010-11-1616-32/+32
| | | | llvm-svn: 119395
* Changed __config to react to all of clang's currently documented has_feature ↵Howard Hinnant2010-09-048-16/+16
| | | | | | flags, and renamed _LIBCPP_MOVE to _LIBCPP_HAS_NO_RVALUE_REFERENCES to be more consistent with the rest of the libc++'s flags, and with clang's nomenclature. llvm-svn: 113086
* Fixing whitespace problemsHoward Hinnant2010-08-229-9/+9
| | | | llvm-svn: 111755
* Wiped out some non-ascii characters that snuck into the copyright.Howard Hinnant2010-05-1116-16/+16
| | | | llvm-svn: 103516
* libcxx initial importHoward Hinnant2010-05-1116-0/+668
llvm-svn: 103490
OpenPOWER on IntegriCloud