[libcxx-commits] [PATCH] D140575: [libc++] LWG3745 noexcept for atomic_wait.

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Dec 22 11:42:46 PST 2022


Mordante created this revision.
Herald added a project: All.
Mordante requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

The noexcept was already implemented, this only updates the synposis and
adds tests to validate that the functions are noexcept.

This implements:

- LWG3745 std::atomic_wait and its friends lack noexcept


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D140575

Files:
  libcxx/docs/Status/Cxx2bIssues.csv
  libcxx/include/atomic
  libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_notify_all.pass.cpp
  libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_notify_one.pass.cpp
  libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_wait.pass.cpp
  libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_wait_explicit.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140575.484916.patch
Type: text/x-patch
Size: 8301 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20221222/f2b0e735/attachment-0001.bin>


More information about the libcxx-commits mailing list