[all-commits] [llvm/llvm-project] 19557a: [libc++] Fix bug in tests for std::atomic_ref<T*> ...
Damien L-G via All-commits
all-commits at lists.llvm.org
Fri Jan 10 13:36:40 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 19557a4c8fab0dbfe9d9c53b99b7960ef211684e
https://github.com/llvm/llvm-project/commit/19557a4c8fab0dbfe9d9c53b99b7960ef211684e
Author: Damien L-G <dalg24 at gmail.com>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M libcxx/test/std/atomics/atomics.ref/increment_decrement.pass.cpp
Log Message:
-----------
[libc++] Fix bug in tests for std::atomic_ref<T*> increment and decrement operators (#122271)
The implementation is fine and has the proper increment/decrement
operators defined, but the tests were wrong:
- a typo (`T` instead of `std::atomic_ref<T>`) when ensuring that increment/decrement
operators are not defined in the primary template and specialization for floating point
types, and
- the specialization for pointer types was miscategorized.
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