aboutsummaryrefslogtreecommitdiff
path: root/libcxx/test
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2024-06-11 16:48:35 -0400
committerLouis Dionne <ldionne.2@gmail.com>2024-06-11 16:48:35 -0400
commitf638f7b6a7c22bc802bb9620acfa10a00d4217cf (patch)
tree5af30ac4dad033da752cff3e22b8959a5d1e7532 /libcxx/test
parent16f2aa1a2ddfcb99e34da5af9d75eaeeb97bb9ce (diff)
downloadllvm-f638f7b6a7c22bc802bb9620acfa10a00d4217cf.zip
llvm-f638f7b6a7c22bc802bb9620acfa10a00d4217cf.tar.gz
llvm-f638f7b6a7c22bc802bb9620acfa10a00d4217cf.tar.bz2
[libc++] Update with LWG issue number for shared-ptr constructor
Diffstat (limited to 'libcxx/test')
-rw-r--r--libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter.pass.cpp2
-rw-r--r--libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter_allocator.pass.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter.pass.cpp b/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter.pass.cpp
index 97dd2fc..95dcb92 100644
--- a/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter.pass.cpp
+++ b/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter.pass.cpp
@@ -117,7 +117,7 @@ int main(int, char**)
#if TEST_STD_VER >= 14
{
- // See https://github.com/llvm/llvm-project/pull/93071#issuecomment-2158494851
+ // LWG 4110
auto deleter = [](auto pointer) { delete pointer; };
std::shared_ptr<int> p(new int, deleter);
}
diff --git a/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter_allocator.pass.cpp b/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter_allocator.pass.cpp
index b90c69e..89e7d0b 100644
--- a/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter_allocator.pass.cpp
+++ b/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter_allocator.pass.cpp
@@ -167,7 +167,7 @@ int main(int, char**)
#if TEST_STD_VER >= 14
{
- // See https://github.com/llvm/llvm-project/pull/93071#issuecomment-2158494851
+ // LWG 4110
auto deleter = [](auto pointer) { delete pointer; };
std::shared_ptr<int> p(new int, deleter, std::allocator<int>());
}