[libcxx-commits] [libcxx] [libc++] Put _LIBCPP_NODEBUG on allocator trait aliases. (PR #118835)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Dec 5 10:22:47 PST 2024
================
@@ -44,10 +44,10 @@ _LIBCPP_BEGIN_NAMESPACE_STD
// __pointer
template <class _Tp>
-using __pointer_member = typename _Tp::pointer;
+using __pointer_member _LIBCPP_NODEBUG = typename _Tp::pointer;
template <class _Tp, class _Alloc>
-using __pointer = __detected_or_t<_Tp*, __pointer_member, __libcpp_remove_reference_t<_Alloc> >;
+using __pointer _LIBCPP_NODEBUG = __detected_or_t<_Tp *, __pointer_member, __libcpp_remove_reference_t<_Alloc> >;
----------------
ldionne wrote:
Please make sure to run this through clang-format!
https://github.com/llvm/llvm-project/pull/118835
More information about the libcxx-commits
mailing list