[libcxx-commits] [libcxx] [libc++][atomics] P3936R1: Safer ``atomic_ref::address`` (PR #189761)

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Sat Apr 11 05:24:00 PDT 2026


================
@@ -8,31 +8,62 @@
 
 // REQUIRES: std-at-least-c++26
 
-// constexpr T* address() const noexcept;
+// ADDITIONAL_COMPILE_FLAGS(gcc-style-warnings): -Wno-deprecated-volatile
+// ADDITIONAL_COMPILE_FLAGS: -Wno-deprecated-volatile
----------------
frederick-vs-ja wrote:

This will be unnecessary after having P3323R1 implemented, IIUC. It's quite strange that #121414 seems somehow stalled. I guess it's better to add some TODO comment here.

https://github.com/llvm/llvm-project/pull/189761


More information about the libcxx-commits mailing list