HomePhabricator

[libc++][nfc] Test std::unique_ptr self move assignment.

Authored by Mordante on Jun 6 2021, 4:44 AM.

Description

[libc++][nfc] Test std::unique_ptr self move assignment.

The post-conditions for the self move assignment of std::unique_ptr
were changed. This requires no implementation changes. A test was added
to validate the new post-conditions.

Addresses

  • LWG-3455: Incorrect Postconditions on unique_ptr move assignment

Reviewed By: #libc, ldionne

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

Details

Committed
MordanteJun 9 2021, 11:43 AM
Reviewer
Restricted Project
Differential Revision
D103764: [libc++][nfc] Test std::unique_ptr self move assignment.
Parents
rG62bd7da889c1: [LangRef] Add link to opaque pointers
Branches
Unknown
Tags
Unknown