llvm-project/libcxx/test/std/utilities/memory
Volodymyr Sapsai e7652f5c0d [libcxx] Use custom allocator's `construct` in C++03 when available.
Makes libc++ behavior consistent between C++03 and C++11.

Can use `decltype` in C++03 because `include/__config` defines a macro when
`decltype` is not available.

Reviewers: mclow.lists, EricWF, erik.pilkington, ldionne

Reviewed By: ldionne

Subscribers: dexonsmith, cfe-commits, howard.hinnant, ldionne, christof, jkorous, Quuxplusone

Differential Revision: https://reviews.llvm.org/D48753

llvm-svn: 349676
2018-12-19 20:08:43 +00:00
..
allocator.tag
allocator.traits [libcxx] Use custom allocator's `construct` in C++03 when available. 2018-12-19 20:08:43 +00:00
allocator.uses Fix failure on 03 bot 2016-09-22 03:25:22 +00:00
c.malloc
default.allocator [libcxx] Add missing <cstddef> includes in tests 2018-11-19 17:39:50 +00:00
pointer.conversion [libcxx] Implement std::to_address for C++20 2017-11-22 19:49:21 +00:00
pointer.traits [libcxx] Implement http://wg21.link/p1006, constexpr in pointer_traits 2018-11-13 17:04:05 +00:00
ptr.align
specialized.algorithms [libcxx] [test] Make files consistently end with newlines, NFC. 2017-07-29 00:55:22 +00:00
storage.iterator Use addressof instead of operator& in make_shared. Fixes PR38729. As a drive-by, make the same change in raw_storage_iterator (twice). 2018-08-28 13:29:30 +00:00
temporary.buffer Disable test in C++<11 mode due to use of alignas. 2018-02-01 23:31:22 +00:00
unique.ptr/unique.ptr.special Fix improperly failing test - and the code it was testing. Thanks to Stephan Lavavej for the catch. 2018-03-22 18:27:28 +00:00
util.dynamic.safety Fix PR26961 - Add default constructor to std::pointer_safety struct. 2017-01-05 01:28:40 +00:00
util.smartptr Use addressof instead of operator& in make_shared. Fixes PR38729. As a drive-by, make the same change in raw_storage_iterator (twice). 2018-08-28 13:29:30 +00:00