[all-commits] [llvm/llvm-project] 7ad005: [libc++][NFC] Mark LWG2731 as complete

Joseph Loser via All-commits all-commits at lists.llvm.org
Tue Oct 26 10:46:47 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ad00511e4ab3190515501aa05e3e3b4a48a0c00
      https://github.com/llvm/llvm-project/commit/7ad00511e4ab3190515501aa05e3e3b4a48a0c00
  Author: Joe Loser <joeloser93 at gmail.com>
  Date:   2021-10-26 (Tue, 26 Oct 2021)

  Changed paths:
    M libcxx/docs/Status/Cxx2bIssues.csv
    M libcxx/include/mutex
    M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/types.pass.cpp

  Log Message:
  -----------
  [libc++][NFC] Mark LWG2731 as complete

Mark LWG2731 as complete. The type alias `mutex_type` is only provided if
`scoped_lock` is given one mutex type and it has been implemented that
way since the beginning of Clang 5 it seems. There already are tests for
verifying existence (and lack thereof) for `mutex_type` type alias
depending on the number of mutex types, so there is nothing to
do for this LWG issue.

Reviewed By: Quuxplusone, Mordante, #libc

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




More information about the All-commits mailing list