[all-commits] [llvm/llvm-project] 42ba74: [libc++] Implement C++20 atomic_ref (#76647)

Damien L-G via All-commits all-commits at lists.llvm.org
Tue May 21 15:54:30 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 42ba740afffa16f991be6aa36626bd872d41ebc0
      https://github.com/llvm/llvm-project/commit/42ba740afffa16f991be6aa36626bd872d41ebc0
  Author: Damien L-G <dalg24 at gmail.com>
  Date:   2024-05-21 (Tue, 21 May 2024)

  Changed paths:
    M libcxx/docs/ReleaseNotes/19.rst
    M libcxx/docs/Status/Cxx20Papers.csv
    M libcxx/include/CMakeLists.txt
    A libcxx/include/__atomic/atomic_ref.h
    M libcxx/include/__atomic/atomic_sync.h
    M libcxx/include/__atomic/check_memory_order.h
    M libcxx/include/__atomic/cxx_atomic_impl.h
    A libcxx/include/__atomic/to_gcc_order.h
    M libcxx/include/atomic
    A libcxx/include/libcxx.imp
    M libcxx/include/module.modulemap
    M libcxx/modules/std/atomic.inc
    A libcxx/test/libcxx/atomics/atomics.ref/assert.compare_exchange_strong.pass.cpp
    A libcxx/test/libcxx/atomics/atomics.ref/assert.compare_exchange_weak.pass.cpp
    A libcxx/test/libcxx/atomics/atomics.ref/assert.ctor.pass.cpp
    A libcxx/test/libcxx/atomics/atomics.ref/assert.load.pass.cpp
    A libcxx/test/libcxx/atomics/atomics.ref/assert.store.pass.cpp
    A libcxx/test/libcxx/atomics/atomics.ref/assert.wait.pass.cpp
    A libcxx/test/std/atomics/atomics.ref/assign.pass.cpp
    A libcxx/test/std/atomics/atomics.ref/bitwise_and_assign.pass.cpp
    A libcxx/test/std/atomics/atomics.ref/bitwise_or_assign.pass.cpp
    A libcxx/test/std/atomics/atomics.ref/bitwise_xor_assign.pass.cpp
    A libcxx/test/std/atomics/atomics.ref/compare_exchange_strong.pass.cpp
    A libcxx/test/std/atomics/atomics.ref/compare_exchange_weak.pass.cpp
    A libcxx/test/std/atomics/atomics.ref/convert.pass.cpp
    A libcxx/test/std/atomics/atomics.ref/ctor.pass.cpp
    A libcxx/test/std/atomics/atomics.ref/deduction.pass.cpp
    A libcxx/test/std/atomics/atomics.ref/exchange.pass.cpp
    A libcxx/test/std/atomics/atomics.ref/fetch_add.pass.cpp
    A libcxx/test/std/atomics/atomics.ref/fetch_and.pass.cpp
    A libcxx/test/std/atomics/atomics.ref/fetch_or.pass.cpp
    A libcxx/test/std/atomics/atomics.ref/fetch_sub.pass.cpp
    A libcxx/test/std/atomics/atomics.ref/fetch_xor.pass.cpp
    A libcxx/test/std/atomics/atomics.ref/increment_decrement.pass.cpp
    A libcxx/test/std/atomics/atomics.ref/is_always_lock_free.pass.cpp
    A libcxx/test/std/atomics/atomics.ref/load.pass.cpp
    A libcxx/test/std/atomics/atomics.ref/member_types.pass.cpp
    A libcxx/test/std/atomics/atomics.ref/notify_all.pass.cpp
    A libcxx/test/std/atomics/atomics.ref/notify_one.pass.cpp
    A libcxx/test/std/atomics/atomics.ref/operator_minus_equals.pass.cpp
    A libcxx/test/std/atomics/atomics.ref/operator_plus_equals.pass.cpp
    A libcxx/test/std/atomics/atomics.ref/required_alignment.pass.cpp
    A libcxx/test/std/atomics/atomics.ref/requires-trivially-copyable.verify.cpp
    A libcxx/test/std/atomics/atomics.ref/store.pass.cpp
    A libcxx/test/std/atomics/atomics.ref/test_helper.h
    A libcxx/test/std/atomics/atomics.ref/wait.pass.cpp

  Log Message:
  -----------
  [libc++] Implement C++20 atomic_ref (#76647)

Implement the std::atomic_ref class template by reusing atomic_base_impl.
Based on the work from https://reviews.llvm.org/D72240



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list