[all-commits] [llvm/llvm-project] e7c621: [libc++][nfc] Test std::unique_ptr self move assig...

mordante via All-commits all-commits at lists.llvm.org
Wed Jun 9 11:43:31 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e7c621a607889e3df1e8becdb96817dbcf3933a4
      https://github.com/llvm/llvm-project/commit/e7c621a607889e3df1e8becdb96817dbcf3933a4
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2021-06-09 (Wed, 09 Jun 2021)

  Changed paths:
    M libcxx/docs/Cxx2bStatus.rst
    M libcxx/docs/Cxx2bStatusIssuesStatus.csv
    M libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.asgn/move.pass.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list