[libcxx-commits] [libcxx] c492a22 - [libc++] Add missing _LIBCPP_NODEBUG on internal aliases

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jan 9 13:03:44 PST 2025


Author: Louis Dionne
Date: 2025-01-09T16:03:39-05:00
New Revision: c492a228e9227e2e44671b0f345fee9de62517bd

URL: https://github.com/llvm/llvm-project/commit/c492a228e9227e2e44671b0f345fee9de62517bd
DIFF: https://github.com/llvm/llvm-project/commit/c492a228e9227e2e44671b0f345fee9de62517bd.diff

LOG: [libc++] Add missing _LIBCPP_NODEBUG on internal aliases

Added: 
    

Modified: 
    libcxx/include/__algorithm/radix_sort.h

Removed: 
    


################################################################################
diff  --git a/libcxx/include/__algorithm/radix_sort.h b/libcxx/include/__algorithm/radix_sort.h
index c39b26a8620f46..95f04a8bb31f65 100644
--- a/libcxx/include/__algorithm/radix_sort.h
+++ b/libcxx/include/__algorithm/radix_sort.h
@@ -88,10 +88,10 @@ __partial_sum_max(_InputIterator __first, _InputIterator __last, _OutputIterator
 
 template <class _Value, class _Map, class _Radix>
 struct __radix_sort_traits {
-  using __image_type = decay_t<typename __invoke_of<_Map, _Value>::type>;
+  using __image_type _LIBCPP_NODEBUG = decay_t<typename __invoke_of<_Map, _Value>::type>;
   static_assert(is_unsigned<__image_type>::value);
 
-  using __radix_type = decay_t<typename __invoke_of<_Radix, __image_type>::type>;
+  using __radix_type _LIBCPP_NODEBUG = decay_t<typename __invoke_of<_Radix, __image_type>::type>;
   static_assert(is_integral<__radix_type>::value);
 
   static constexpr auto __radix_value_range = numeric_limits<__radix_type>::max() + 1;
@@ -101,7 +101,7 @@ struct __radix_sort_traits {
 
 template <class _Value, class _Map>
 struct __counting_sort_traits {
-  using __image_type = decay_t<typename __invoke_of<_Map, _Value>::type>;
+  using __image_type _LIBCPP_NODEBUG = decay_t<typename __invoke_of<_Map, _Value>::type>;
   static_assert(is_unsigned<__image_type>::value);
 
   static constexpr const auto __value_range = numeric_limits<__image_type>::max() + 1;


        


More information about the libcxx-commits mailing list