summaryrefslogtreecommitdiffstats
path: root/libcxx/test/support/min_allocator.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix PR31378 - std::list::remove should not require a default constructible ↵Eric Fiselier2016-12-141-0/+38
| | | | | | | | | | | | allocator. In list::remove we collect the nodes we're removing in a seperate list instance. However we construct this list using the default constructor which default constructs the allocator. However allocators are not required to be default constructible. This patch fixes the construction of the second list. llvm-svn: 289735
* Support allocators with explicit conversion constructors. Fixes bug #29000Marshall Clow2016-08-171-0/+25
| | | | llvm-svn: 278904
* Add Filesystem TS -- CompleteEric Fiselier2016-06-171-0/+54
| | | | | | | | | | | | | | Add the completed std::experimental::filesystem implementation and tests. The implementation supports C++11 or newer. The TS is built as part of 'libc++experimental.a'. Users of the TS need to manually link this library. Building and testing the TS can be disabled using the CMake option '-DLIBCXX_ENABLE_FILESYSTEM=OFF'. Currently 'libc++experimental.a' is not installed by default. To turn on the installation of the library use '-DLIBCXX_INSTALL_EXPERIMENTAL_LIBRARY=ON'. llvm-svn: 273034
* Replace __cplusplus comparisons and dialect __has_feature checks with ↵Eric Fiselier2016-06-141-2/+2
| | | | | | | | | TEST_STD_VER. This is a huge cleanup that helps make the libc++ test suite more portable. Patch from STL@microsoft.com. Thanks STL! llvm-svn: 272716
* More of N4258 implementation. Mark all of our test_allocators as noexcept ↵Marshall Clow2015-06-031-13/+15
| | | | | | constructible. Make the constructors for basic_string noexcept all the time (under C++14). Update tests to reflect the new world order. More to come. llvm-svn: 238957
* Add bare_allocator archetype that implements the minimal possible allocator ↵Eric Fiselier2014-08-151-1/+29
| | | | | | interface. llvm-svn: 215691
* Add license headers to a bunch of libc++ files that were missing them. No ↵Marshall Clow2014-01-161-0/+9
| | | | | | functionality change. Fixes 18291. Thanks to Nico for the bug report and the patch. llvm-svn: 199400
* There were two identical files named 'min_allocator.h'. Move one of them to ↵Marshall Clow2013-11-261-0/+252
/support and delete the other. Then adjust all the tests that used them to include the moved one. No functionality change. llvm-svn: 195785
OpenPOWER on IntegriCloud