[all-commits] [llvm/llvm-project] 9a140a: [libc++] Make test_allocator constexpr-friendly fo...

philnik777 via All-commits all-commits at lists.llvm.org
Sun Nov 7 07:16:02 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9a140a1586cc4d13ecc97a28065f9ed2f93c99de
      https://github.com/llvm/llvm-project/commit/9a140a1586cc4d13ecc97a28065f9ed2f93c99de
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2021-11-07 (Sun, 07 Nov 2021)

  Changed paths:
    M libcxx/test/std/containers/associative/map/map.cons/assign_initializer_list.pass.cpp
    M libcxx/test/std/containers/associative/set/set.cons/assign_initializer_list.pass.cpp
    M libcxx/test/std/containers/container.requirements/container.requirements.general/allocator_move.pass.cpp
    M libcxx/test/std/containers/sequences/deque/deque.modifiers/push_back_exception_safety.pass.cpp
    M libcxx/test/std/containers/sequences/deque/deque.modifiers/push_front_exception_safety.pass.cpp
    M libcxx/test/std/containers/sequences/vector.bool/move.pass.cpp
    M libcxx/test/std/containers/sequences/vector/vector.cons/move.pass.cpp
    M libcxx/test/std/re/re.results/re.results.const/move.pass.cpp
    M libcxx/test/std/strings/basic.string/string.capacity/capacity.pass.cpp
    M libcxx/test/std/strings/basic.string/string.cons/move_alloc.pass.cpp
    M libcxx/test/std/thread/futures/futures.promise/alloc_ctor.pass.cpp
    M libcxx/test/std/thread/futures/futures.promise/move_assign.pass.cpp
    M libcxx/test/std/thread/futures/futures.promise/move_ctor.pass.cpp
    M libcxx/test/std/thread/futures/futures.promise/swap.pass.cpp
    M libcxx/test/std/thread/futures/futures.shared_future/dtor.pass.cpp
    M libcxx/test/std/thread/futures/futures.task/futures.task.members/ctor_func_alloc.pass.cpp
    M libcxx/test/std/thread/futures/futures.unique_future/dtor.pass.cpp
    M libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_F.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/nullptr_t_deleter_allocator.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/nullptr_t_deleter_allocator_throw.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter_allocator.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter_allocator_throw.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/allocate_shared.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.mod/reset_pointer_deleter_allocator.pass.cpp
    M libcxx/test/support/test_allocator.h

  Log Message:
  -----------
  [libc++] Make test_allocator constexpr-friendly for constexpr string/vector

Make test_allocator etc. constexpr-friendly so they can be used to test constexpr string and possibly constexpr vector

Reviewed By: Quuxplusone, #libc, ldionne

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




More information about the All-commits mailing list