[libcxx-commits] [PATCH] D47360: Implement <memory_resource> as a copy of <experimental/memory_resource>.

Arthur O'Dwyer via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Sep 11 12:09:32 PDT 2019


Quuxplusone updated this revision to Diff 219760.
Quuxplusone added a comment.

Rebased on master.

The previous patch had replaced `test/support/test_memory_resource.hpp` with the two files `test/support/test_experimental_memory_resource.hpp` and `test/support/test_memory_resource.hpp` (and edited all the experimental tests to use the former).

This new patch replaces `test/support/test_memory_resource.h` with the two files `test/support/test_memory_resource.h` and `test/support/test_std_memory_resource.h` (which reduces the diff by leaving the experimental tests untouched in this patch).


Repository:
  rCXX libc++

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D47360/new/

https://reviews.llvm.org/D47360

Files:
  docs/FeatureTestMacroTable.rst
  include/CMakeLists.txt
  include/__memory_resource_base
  include/deque
  include/forward_list
  include/list
  include/map
  include/memory_resource
  include/module.modulemap
  include/regex
  include/set
  include/string
  include/unordered_map
  include/unordered_set
  include/vector
  include/version
  src/CMakeLists.txt
  src/memory_resource.cpp
  test/libcxx/double_include.sh.cpp
  test/libcxx/min_max_macros.sh.cpp
  test/libcxx/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.mem/construct_piecewise_pair.pass.cpp
  test/libcxx/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.mem/db_deallocate.pass.cpp
  test/libcxx/utilities/utility/mem.res/mem.res.monotonic.buffer/mem.res.monotonic.buffer.mem/allocate_in_geometric_progression.pass.cpp
  test/libcxx/utilities/utility/mem.res/mem.res.pool/unsynchronized_buffer.pass.cpp
  test/std/language.support/support.limits/support.limits.general/memory_resource.version.pass.cpp
  test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp
  test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.ctor/assign.pass.cpp
  test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.ctor/copy.pass.cpp
  test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.ctor/default.pass.cpp
  test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.ctor/memory_resource_convert.pass.cpp
  test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.ctor/other_alloc.pass.cpp
  test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.eq/equal.pass.cpp
  test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.eq/not_equal.pass.cpp
  test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.mem/allocate.pass.cpp
  test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.mem/construct_pair.pass.cpp
  test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.mem/construct_pair_const_lvalue_pair.pass.cpp
  test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.mem/construct_pair_rvalue.pass.cpp
  test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.mem/construct_pair_values.pass.cpp
  test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.mem/construct_piecewise_pair.pass.cpp
  test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.mem/construct_piecewise_pair_evil.pass.cpp
  test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.mem/construct_types.pass.cpp
  test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.mem/deallocate.pass.cpp
  test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.mem/destroy.pass.cpp
  test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.mem/resource.pass.cpp
  test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.mem/select_on_container_copy_construction.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.aliases/header_deque_synop.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.aliases/header_forward_list_synop.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.aliases/header_list_synop.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.aliases/header_list_synop2.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.aliases/header_map_synop.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.aliases/header_regex_synop.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.aliases/header_set_synop.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.aliases/header_string_synop.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.aliases/header_string_synop2.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.aliases/header_unordered_map_synop.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.aliases/header_unordered_set_synop.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.aliases/header_vector_synop.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.global/default_resource.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.global/new_delete_resource.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.global/null_memory_resource.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.monotonic.buffer/mem.res.monotonic.buffer.ctor/copy_move.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.monotonic.buffer/mem.res.monotonic.buffer.ctor/with_default_resource.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.monotonic.buffer/mem.res.monotonic.buffer.ctor/without_buffer.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.monotonic.buffer/mem.res.monotonic.buffer.mem/allocate_deallocate.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.monotonic.buffer/mem.res.monotonic.buffer.mem/allocate_exception_safety.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.monotonic.buffer/mem.res.monotonic.buffer.mem/allocate_from_initial_buffer.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.monotonic.buffer/mem.res.monotonic.buffer.mem/allocate_from_underaligned_buffer.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.monotonic.buffer/mem.res.monotonic.buffer.mem/allocate_from_zero_sized_buffer.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.monotonic.buffer/mem.res.monotonic.buffer.mem/allocate_in_geometric_progression.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.monotonic.buffer/mem.res.monotonic.buffer.mem/allocate_overaligned_request.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.monotonic.buffer/mem.res.monotonic.buffer.mem/allocate_with_initial_size.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.monotonic.buffer/mem.res.monotonic.buffer.mem/equality.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.pool/mem.res.pool.ctor/ctor_does_not_allocate.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.pool/mem.res.pool.ctor/sync_with_default_resource.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.pool/mem.res.pool.ctor/unsync_with_default_resource.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.pool/mem.res.pool.mem/equality.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.pool/mem.res.pool.mem/sync_allocate.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.pool/mem.res.pool.mem/sync_allocate_overaligned_request.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.pool/mem.res.pool.mem/sync_allocate_reuse_blocks.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.pool/mem.res.pool.mem/sync_deallocate_matches_allocate.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.pool/mem.res.pool.mem/unsync_allocate.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.pool/mem.res.pool.mem/unsync_allocate_overaligned_request.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.pool/mem.res.pool.mem/unsync_allocate_reuse_blocks.pass.cpp
  test/std/utilities/utility/mem.res/mem.res.pool/mem.res.pool.mem/unsync_deallocate_matches_allocate.pass.cpp
  test/std/utilities/utility/mem.res/mem.res/construct.fail.cpp
  test/std/utilities/utility/mem.res/mem.res/mem.res.eq/equal.pass.cpp
  test/std/utilities/utility/mem.res/mem.res/mem.res.eq/not_equal.pass.cpp
  test/std/utilities/utility/mem.res/mem.res/mem.res.private/private_members.fail.cpp
  test/std/utilities/utility/mem.res/mem.res/mem.res.private/protected_members.fail.cpp
  test/std/utilities/utility/mem.res/mem.res/mem.res.public/allocate.pass.cpp
  test/std/utilities/utility/mem.res/mem.res/mem.res.public/deallocate.pass.cpp
  test/std/utilities/utility/mem.res/mem.res/mem.res.public/dtor.pass.cpp
  test/std/utilities/utility/mem.res/mem.res/mem.res.public/is_equal.pass.cpp
  test/support/test_std_memory_resource.h
  utils/generate_feature_test_macro_components.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47360.219760.patch
Type: text/x-patch
Size: 241101 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190911/c39bbc7a/attachment-0001.bin>


More information about the libcxx-commits mailing list