[libcxx-commits] [PATCH] D68365: Prototype implementation of P1004R2 (making std::vector constexpr).

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri May 6 08:20:56 PDT 2022


ldionne updated this revision to Diff 427645.
ldionne added a subscriber: philnik.
ldionne added a comment.
Herald added a subscriber: ormris.
Herald added a project: All.

Rebase onto main.

@miscco's comments have not been addressed yet -- I only did the minimal amount of work to fix merge conflicts with main.

Note that not all tests have been constexpr-ified yet, and the ones that have been constexpr-ified are not all passing. Transferring to @philnik as discussed offline.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D68365

Files:
  libcxx/docs/ReleaseNotes.rst
  libcxx/docs/Status/Cxx20Papers.csv
  libcxx/include/__split_buffer
  libcxx/include/memory
  libcxx/include/vector
  libcxx/test/std/containers/sequences/vector.bool/assign_copy.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/assign_initializer_list.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/assign_move.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/capacity.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/construct_default.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/construct_iter_iter.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/construct_iter_iter_alloc.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/construct_size.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/construct_size_value.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/construct_size_value_alloc.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/copy.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/copy_alloc.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/emplace.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/emplace_back.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/empty.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/erase_iter.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/erase_iter_iter.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/find.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/initializer_list.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/initializer_list_alloc.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/insert_iter_initializer_list.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/insert_iter_iter_iter.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/insert_iter_size_value.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/insert_iter_value.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/iterators.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/move.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/move_alloc.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/op_equal_initializer_list.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/push_back.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/reference.swap.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/reserve.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/resize_size.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/resize_size_value.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/shrink_to_fit.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/size.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/swap.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/vector_bool.pass.cpp
  libcxx/test/std/containers/sequences/vector/access.pass.cpp
  libcxx/test/std/containers/sequences/vector/contiguous.pass.cpp
  libcxx/test/std/containers/sequences/vector/iterators.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.capacity/capacity.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.capacity/empty.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.capacity/max_size.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.capacity/reserve.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.capacity/resize_size.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.capacity/resize_size_value.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.capacity/shrink_to_fit.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.capacity/size.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.capacity/swap.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.cons/assign_copy.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.cons/assign_initializer_list.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.cons/assign_iter_iter.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.cons/assign_move.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.cons/assign_size_value.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.cons/construct_default.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.cons/construct_iter_iter.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.cons/construct_size.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.cons/construct_size_value.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.cons/construct_size_value_alloc.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.cons/copy.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.cons/copy_alloc.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.cons/deduct.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.cons/default.recursive.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.cons/default_noexcept.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.cons/dtor_noexcept.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.cons/initializer_list.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.cons/initializer_list_alloc.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.cons/move.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.cons/move_alloc.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.cons/move_assign_noexcept.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.cons/op_equal_initializer_list.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.data/data.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.data/data_const.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.erasure/erase.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.erasure/erase_if.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.modifiers/clear.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.modifiers/emplace.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.modifiers/emplace_back.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.modifiers/emplace_extra.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.modifiers/erase_iter.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.modifiers/erase_iter_iter.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.modifiers/insert_iter_initializer_list.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.modifiers/insert_iter_iter_iter.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.modifiers/insert_iter_rvalue.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.modifiers/insert_iter_size_value.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.modifiers/pop_back.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.modifiers/push_back.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.modifiers/push_back_rvalue.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.special/swap.pass.cpp
  libcxx/test/support/DefaultOnly.h
  libcxx/test/support/asan_testing.h
  libcxx/test/support/test_allocator.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68365.427645.patch
Type: text/x-patch
Size: 140043 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220506/bc26e1f0/attachment-0001.bin>


More information about the libcxx-commits mailing list