[libcxx-commits] [libcxx] [libc++][RFC] Refactor attributes to [[attribute_macro]] (PR #130099)

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Tue Mar 11 10:35:15 PDT 2025


================
@@ -467,13 +467,13 @@ _LIBCPP_HIDE_FROM_ABI bool atomic_is_lock_free(const atomic<_Tp>* __o) _NOEXCEPT
 // atomic_init
 
 template <class _Tp>
-_LIBCPP_DEPRECATED_IN_CXX20 _LIBCPP_HIDE_FROM_ABI void
+[[__libcpp_deprecated_in_cxx20()]] _LIBCPP_HIDE_FROM_ABI void
----------------
mordante wrote:

Are the empty parenthesis required?

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


More information about the libcxx-commits mailing list