summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/language.support/support.dynamic
Commit message (Collapse)AuthorAgeFilesLines
...
* Prevent new/delete replacement tests from being optimized away.Eric Fiselier2016-10-147-37/+31
| | | | llvm-svn: 284289
* Clarify XFAIL commentsEric Fiselier2016-10-142-2/+4
| | | | llvm-svn: 284282
* XFAIL aligned allocation tests for older Clang versionsEric Fiselier2016-10-148-18/+28
| | | | llvm-svn: 284214
* XFAIL aligned allocation test failures with UBSANEric Fiselier2016-10-144-9/+10
| | | | llvm-svn: 284210
* Implement P0035R4 -- Add C++17 aligned allocation functionsEric Fiselier2016-10-1411-0/+845
| | | | | | | | | | | | | | | | Summary: This patch implements the library side of P0035R4. The implementation is thanks to @rsmith. In addition to the C++17 implementation, the library implementation can be explicitly turned on using `-faligned-allocation` in all dialects. Reviewers: mclow.lists, rsmith Subscribers: rsmith, cfe-commits Differential Revision: https://reviews.llvm.org/D25591 llvm-svn: 284206
* Placate MSVC's unchecked malloc warnings.Eric Fiselier2016-06-224-5/+12
| | | | llvm-svn: 273374
* UBSan doesn't globally replace new/delete but it still makes some tests ↵Eric Fiselier2016-06-226-0/+20
| | | | | | fail. Investigation needed. llvm-svn: 273372
* Move all tests for _LIBCPP_VERSION in language.support to ↵Eric Fiselier2016-06-221-20/+0
| | | | | | test/libcxx/language.support. llvm-svn: 273364
* Allow placement new array test to consume extra bytes as specified by the ↵Eric Fiselier2016-06-221-4/+8
| | | | | | standard. llvm-svn: 273342
* Cleanup non-standard tests as reported by STL@microsoft.com. NFC.Eric Fiselier2016-06-011-28/+0
| | | | | | | | | | | | | | | This patch addresses the following issues in the test suite: 1. Move "std::bad_array_length" test from std/ to libcxx/ test directory since the feature is not a part of the standard. 2. Rename "futures.tas" test directory to "futures.task" since that is the correct stable name. 3. Move tests for "packaged_task<T>::result_type" from std/ to libcxx/ test directory since the typedef is a libc++ extension. llvm-svn: 271430
* [libcxx] Improve tests to use the UNSUPPORTED lit directiveAsiri Rathnayake2016-05-281-2/+1
| | | | | | | | | | | | | | | | | | | Quite a few libcxx tests seem to follow the format: #if _LIBCPP_STD_VER > X // Do test. #else // Empty test. #endif We should instead use the UNSUPPORTED lit directive to exclude the test on earlier C++ standards. This gives us a more accurate number of test passes for those standards and avoids unnecessary conflicts with other lit directives on the same tests. Reviewers: bcraig, ericwf, mclow.lists Differential revision: http://reviews.llvm.org/D20730 llvm-svn: 271108
* Make it possible to build a no-exceptions variant of libcxx.Asiri Rathnayake2015-11-104-0/+4
| | | | | | | | | | | | 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
* Fix a handful of tests that fail in C++03Eric Fiselier2015-07-281-1/+1
| | | | llvm-svn: 243392
* Fix warnings in test/std/language.supportEric Fiselier2015-07-183-1/+7
| | | | llvm-svn: 242624
* Cleanup tests that fail in C++1z and with Clang 3.8Eric Fiselier2015-07-172-8/+6
| | | | llvm-svn: 242581
* Mark two tests as failing on clang 3.8 (they failed on 3.7, too)Marshall Clow2015-07-162-4/+4
| | | | llvm-svn: 242375
* Add TODO items and remove use of 'noexcept' in C++03 test.Eric Fiselier2015-06-021-1/+1
| | | | llvm-svn: 238802
* Address @danalberts comments on r237700Eric Fiselier2015-05-192-2/+2
| | | | llvm-svn: 237740
* Add compiler flag test support to LIT. Fix new/delete tests on apple-clang.Eric Fiselier2015-05-192-10/+4
| | | | llvm-svn: 237700
* mark new/delete tests as XFAIL more carefullyEric Fiselier2015-05-194-10/+20
| | | | llvm-svn: 237664
* [libcxx] Rework sized delete.Eric Fiselier2015-05-1914-516/+505
| | | | | | | | | | | | | | | | | | | | | | | | | | Summary: This patch does 2 main things: 1. Enable sized delete if the feature test macro `__cpp_sized_deallocation` is enabled. 2. Rework and cleanup all of the sized delete tests. Test Plan: The sized delete replacement tests are now split into 4 files: 1. sized_delete11.pass.cpp: Ensure overriding sized delete in C++11 has no effect. 2. sized_delete14.pass.cpp: Test overriding sized delete in C++14 and ensure it is called. This test fails on clang and GCC < 5.1. 3. size_delete_calls_unsized_delete_.pass.cpp: Test that the default sized delete calls unsized delete. 4. sized_delete_fsizeddeallocation.pass.cpp: Test overriding sized delete when -fsized-deallocation is passed. This test should pass on clang and GCC >= 5.1 I have also removed a lot of cruft from the old tests. They no longer replace the new handler and tests that it is called for bad allocations. Reviewers: mclow.lists Reviewed By: mclow.lists Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D9831 llvm-svn: 237662
* Fix for LWG Issue 2458: N3778 and new library deallocation signatures.Marshall Clow2015-05-182-218/+0
| | | | llvm-svn: 237592
* Remove statement with no effect inside tests.Eric Fiselier2015-04-012-2/+0
| | | | llvm-svn: 233816
* Use generic feature name for sanitizers that replace new and deleteEric Fiselier2015-03-1016-16/+16
| | | | llvm-svn: 231841
* More on adding sized deallocation functions in libc++: Continuing from ↵Larisse Voufo2015-02-208-0/+736
| | | | | | r229281, this adds version guards and test cases. llvm-svn: 229968
* Move test into test/std subdirectory.Eric Fiselier2014-12-2020-0/+691
llvm-svn: 224658
OpenPOWER on IntegriCloud