Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix for PR26812: possible overflow issue in std::allocator::allocate | Marshall Clow | 2016-03-03 | 1 | -0/+46 |
| | | | | llvm-svn: 262610 | ||||
* | No, really - test the constructor | Marshall Clow | 2016-02-25 | 1 | -1/+1 |
| | | | | llvm-svn: 261875 | ||||
* | Add test to ensure that the converting constructor in N4089 is present and ↵ | Marshall Clow | 2016-02-25 | 1 | -0/+27 |
| | | | | | | working llvm-svn: 261874 | ||||
* | Implement P0074: Making owner_less more flexible | Marshall Clow | 2015-11-12 | 1 | -0/+40 |
| | | | | llvm-svn: 252905 | ||||
* | Make it possible to build a no-exceptions variant of libcxx. | Asiri Rathnayake | 2015-11-10 | 12 | -0/+12 |
| | | | | | | | | | | | | Fixes a small omission in libcxx that prevents libcxx being built when -DLIBCXX_ENABLE_EXCEPTIONS=0 is specified. This patch adds XFAILS to all those tests that are currently failing on the new -fno-exceptions library variant. Follow-up patches will update the tests (progressively) to cope with the new library variant. Change-Id: I4b801bd8d8e4fe7193df9e55f39f1f393a8ba81a llvm-svn: 252598 | ||||
* | Remove undefined behavior from some tests. Same pattern as the ↵ | Marshall Clow | 2015-11-02 | 2 | -10/+16 |
| | | | | | | unitialized_copy tests llvm-svn: 251804 | ||||
* | Remove undefined behavior from some tests. Thanks to Walter Brown for the ↵ | Marshall Clow | 2015-11-02 | 2 | -10/+18 |
| | | | | | | heads-up. llvm-svn: 251802 | ||||
* | Add a test for LWG#2466: allocator_traits::max_size() default behavior is ↵ | Marshall Clow | 2015-10-25 | 1 | -2/+2 |
| | | | | | | incorrect llvm-svn: 251252 | ||||
* | Fix LWG#2127: Move-construction with raw_storage_iterator. | Marshall Clow | 2015-10-25 | 1 | -4/+23 |
| | | | | llvm-svn: 251247 | ||||
* | Fixed a possible overflow in a test of allocator::max_size(). | Marshall Clow | 2015-10-05 | 1 | -2/+2 |
| | | | | llvm-svn: 249349 | ||||
* | Suppress clang warnings in some tests | Eric Fiselier | 2015-08-30 | 1 | -2/+4 |
| | | | | llvm-svn: 246399 | ||||
* | Cleanup unique_ptr failure tests and convert them to Clang verify | Eric Fiselier | 2015-08-20 | 8 | -217/+98 |
| | | | | llvm-svn: 245529 | ||||
* | Add files that got missed in r245512. | Eric Fiselier | 2015-08-19 | 4 | -179/+89 |
| | | | | llvm-svn: 245513 | ||||
* | More unique_ptr test cleanup. Fixes in <memory> to come later. | Eric Fiselier | 2015-08-19 | 5 | -132/+114 |
| | | | | llvm-svn: 245512 | ||||
* | Fix failing unique_ptr tests. | Eric Fiselier | 2015-07-31 | 2 | -38/+7 |
| | | | | | | | | When I was refactoring the unique_ptr.single.ctor tests I added a test deleter, 'NCDeleter', to deleter.h. Other tests that include deleter.h redefine the NCDeleter type causing test failures. llvm-svn: 243733 | ||||
* | Start cleanup of unique_ptr tests. | Eric Fiselier | 2015-07-31 | 28 | -1575/+894 |
| | | | | | | | | | | | | | | | | One of the last sections of tests that still fail in C++03 are the unique_ptr tests. This patch begins cleaning up the tests and fixing C++03 failures. The main changes of this patch: - The "Deleter" type in "deleter.h" tried to be "move-only" in C++03. However the move simulation no longer works (see "__rv"). "Deleter" is now copy constructible in C++03. However copying "Deleter" will "move" the test value instead of copying it. - Reduce the unique.ptr.single.ctor tests files from ~25 to 4. There is no reason the tests were split through so many files. llvm-svn: 243730 | ||||
* | Fix a handful of tests that fail in C++03 | Eric Fiselier | 2015-07-28 | 1 | -13/+8 |
| | | | | llvm-svn: 243392 | ||||
* | Make sure that __libcpp_compressed_pair_imp default-constructs its' members, ↵ | Marshall Clow | 2015-07-16 | 1 | -0/+16 |
| | | | | | | rather than value-initializing them. Fixes PR#24137 llvm-svn: 242377 | ||||
* | Automatically detect and use clang verify in failure tests. | Eric Fiselier | 2015-07-06 | 1 | -1/+0 |
| | | | | | | | | | Automatically enable clang verify whenever the '-verify-ignore-unexpected' flag is supported. Failure tests are run using verify if they contain one or more "expected-*" diagnostics tags. Otherwise they are run normally. llvm-svn: 241492 | ||||
* | Noticed that std::allocator<const T> was missing the definition for ↵ | Marshall Clow | 2015-07-01 | 2 | -0/+9 |
| | | | | | | is_always_equal. Fixed this, and added a test for it. llvm-svn: 241190 | ||||
* | Fix PR#18843. Thanks to Howard for the fix | Marshall Clow | 2015-06-19 | 1 | -0/+4 |
| | | | | llvm-svn: 240136 | ||||
* | Implement the first part of N4258 - allocator_traits<X>::is_always_equal. ↵ | Marshall Clow | 2015-06-02 | 1 | -0/+48 |
| | | | | | | Also fixes PR#23723 llvm-svn: 238848 | ||||
* | Fix PR#23647 - make_shared<volatile bool> - second try | Marshall Clow | 2015-05-27 | 1 | -3/+3 |
| | | | | llvm-svn: 238370 | ||||
* | Revert 238354 while I figure out what broke in weak_ptr | Marshall Clow | 2015-05-27 | 1 | -3/+3 |
| | | | | llvm-svn: 238355 | ||||
* | Fix PR#23647 - make_shared<volatile bool> | Marshall Clow | 2015-05-27 | 1 | -0/+61 |
| | | | | llvm-svn: 238354 | ||||
* | Implement LWG2433: uninitialized_copy()/etc. should tolerate overloaded ↵ | Marshall Clow | 2015-05-19 | 4 | -0/+94 |
| | | | | | | operator& llvm-svn: 237699 | ||||
* | Fix for LWG Issue 2415: Inconsistency between unique_ptr and shared_ptr | Marshall Clow | 2015-05-10 | 2 | -2/+14 |
| | | | | llvm-svn: 236953 | ||||
* | Fix for LWG2454: Add raw_storage_iterator::base() member | Marshall Clow | 2015-05-10 | 1 | -0/+48 |
| | | | | llvm-svn: 236948 | ||||
* | Use generic feature name for sanitizers that replace new and delete | Eric Fiselier | 2015-03-10 | 5 | -5/+5 |
| | | | | llvm-svn: 231841 | ||||
* | Get tests running with warnings. Fix warnings in headers and tests | Eric Fiselier | 2015-02-05 | 5 | -1/+7 |
| | | | | llvm-svn: 228344 | ||||
* | Rename system_lib -> system_cxx_lib. NFC | Jonathan Roelofs | 2015-01-14 | 10 | -20/+20 |
| | | | | llvm-svn: 226061 | ||||
* | Walter Brown sent a list of tests which needed 'additional includes' to ↵ | Marshall Clow | 2015-01-09 | 49 | -0/+49 |
| | | | | | | match what was in the standard. Added these includes to the tests. No changes to the library or test results. llvm-svn: 225541 | ||||
* | Add tests to check the typedefs from the result of std::owner_less | Marshall Clow | 2015-01-07 | 1 | -0/+8 |
| | | | | llvm-svn: 225381 | ||||
* | [libcxx] Consolidate new/delete replacement in tests and disable it when ↵ | Eric Fiselier | 2014-12-22 | 3 | -79/+38 |
| | | | | | | | | | | | | | | | | | | | | using sanitizers. Summary: MSAN and ASAN also replace new/delete which leads to a link error in these tests. Currently they are unsupported but I think it would be useful if these tests could run with sanitizers. This patch creates a support header that consolidates the new/delete replacement functionality and checking. When we are using sanitizers new and delete are no longer replaced and the checks always return true. Reviewers: mclow.lists, danalbert, jroelofs, EricWF Reviewed By: EricWF Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D6562 llvm-svn: 224741 | ||||
* | Move test into test/std subdirectory. | Eric Fiselier | 2014-12-20 | 310 | -0/+17003 |
llvm-svn: 224658 |