diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2024-06-11 16:45:12 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-11 16:45:12 -0400 |
commit | 16f2aa1a2ddfcb99e34da5af9d75eaeeb97bb9ce (patch) | |
tree | 64ed48768354fd39b1cbac15d0270d38a41dc71f /llvm/unittests/Support/MathExtrasTest.cpp | |
parent | 982b4b6f4d5ddf04ed5e85aea7074c9b26f29673 (diff) | |
download | llvm-16f2aa1a2ddfcb99e34da5af9d75eaeeb97bb9ce.zip llvm-16f2aa1a2ddfcb99e34da5af9d75eaeeb97bb9ce.tar.gz llvm-16f2aa1a2ddfcb99e34da5af9d75eaeeb97bb9ce.tar.bz2 |
[libc++] Tweak how we check constraints on shared_ptr(nullptr_t) (#94996)
This avoids breaking code that should arguably be valid but technically
isn't after enforcing the constraints on shared_ptr's constructors. A
new LWG issue was filed to fix this in the Standard.
This patch applies the expected resolution of this issue to avoid
flip-flopping users whose code should always be considered valid.
See #93071 for more context.
Diffstat (limited to 'llvm/unittests/Support/MathExtrasTest.cpp')
0 files changed, 0 insertions, 0 deletions