[all-commits] [llvm/llvm-project] 83c181: [libc++] LWG3745 noexcept for atomic_wait.

Mark de Wever via All-commits all-commits at lists.llvm.org
Fri Dec 23 08:17:15 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 83c1816224aab4a7714fa62b98292b496327d87b
      https://github.com/llvm/llvm-project/commit/83c1816224aab4a7714fa62b98292b496327d87b
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2022-12-23 (Fri, 23 Dec 2022)

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

  Log Message:
  -----------
  [libc++] LWG3745 noexcept for atomic_wait.

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

Reviewed By: #libc, philnik

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




More information about the All-commits mailing list