[all-commits] [llvm/llvm-project] affbb4: [libc++] std::atomic primary template should not h...

Damien L-G via All-commits all-commits at lists.llvm.org
Fri Feb 21 09:53:34 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: affbb4d9cf6fc48ce44af4eee61fdb6528473788
      https://github.com/llvm/llvm-project/commit/affbb4d9cf6fc48ce44af4eee61fdb6528473788
  Author: Damien L-G <dalg24 at gmail.com>
  Date:   2025-02-21 (Fri, 21 Feb 2025)

  Changed paths:
    M libcxx/include/__atomic/atomic.h
    M libcxx/test/libcxx/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_add.verify.cpp
    M libcxx/test/libcxx/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_add_explicit.verify.cpp
    M libcxx/test/libcxx/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub.verify.cpp
    M libcxx/test/libcxx/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub_explicit.verify.cpp
    M libcxx/test/std/atomics/types.pass.cpp

  Log Message:
  -----------
  [libc++] std::atomic primary template should not have a `difference_type` member type (#123236)

The test would not check its absence and the code path intended for
pointer was never actually instantiated.
I added a few pointer types since there was no coverage.

---------

Co-authored-by: Louis Dionne <ldionne.2 at gmail.com>



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