[all-commits] [llvm/llvm-project] 85f27d: [libc++] Make sure LWG2070 is implemented as a DR ...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Thu Sep 14 12:12:19 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 85f27d126dbe696070a0c79c476070a67e40aa29
https://github.com/llvm/llvm-project/commit/85f27d126dbe696070a0c79c476070a67e40aa29
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2023-09-14 (Thu, 14 Sep 2023)
Changed paths:
M libcxx/include/__memory/shared_ptr.h
A libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/allocate_shared.lwg2070.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/allocate_shared.pass.cpp
R libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/allocate_shared_construct.pass.cpp
Log Message:
-----------
[libc++] Make sure LWG2070 is implemented as a DR (#65998)
When we implemented C++20's P0674R1, we didn't enable the part of
P0674R1 that was resolving LWG2070 as a DR. This patch fixes that and
makes sure that we consistently go through the allocator when
constructing and destroying the underlying object in
std::allocate_shared.
Fixes #54365.
More information about the All-commits
mailing list