From a3e6e2b2866f7a3cbc8ed37c955ccfe625bacc22 Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Mon, 6 Jan 2014 14:00:09 +0000 Subject: [PATCH] Rename several internal templates to get rid of ___ (triple underscores) or worse, four. No functionality change. llvm-svn: 198608 --- libcxx/include/__functional_base | 6 +++--- libcxx/include/__functional_base_03 | 6 +++--- libcxx/include/type_traits | 20 ++++++++++---------- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/libcxx/include/__functional_base b/libcxx/include/__functional_base index 1c337d8..6766793 100644 --- a/libcxx/include/__functional_base +++ b/libcxx/include/__functional_base @@ -451,10 +451,10 @@ public: } }; -template struct ____is_reference_wrapper : public false_type {}; -template struct ____is_reference_wrapper > : public true_type {}; +template struct __is_reference_wrapper_impl : public false_type {}; +template struct __is_reference_wrapper_impl > : public true_type {}; template struct __is_reference_wrapper - : public ____is_reference_wrapper::type> {}; + : public __is_reference_wrapper_impl::type> {}; template inline _LIBCPP_INLINE_VISIBILITY diff --git a/libcxx/include/__functional_base_03 b/libcxx/include/__functional_base_03 index 296dd8d..f297ee0 100644 --- a/libcxx/include/__functional_base_03 +++ b/libcxx/include/__functional_base_03 @@ -1047,10 +1047,10 @@ public: } }; -template struct ____is_reference_wrapper : public false_type {}; -template struct ____is_reference_wrapper > : public true_type {}; +template struct __is_reference_wrapper_impl : public false_type {}; +template struct __is_reference_wrapper_impl > : public true_type {}; template struct __is_reference_wrapper - : public ____is_reference_wrapper::type> {}; + : public __is_reference_wrapper_impl::type> {}; template inline _LIBCPP_INLINE_VISIBILITY diff --git a/libcxx/include/type_traits b/libcxx/include/type_traits index 04e5fd1..ece19fa 100644 --- a/libcxx/include/type_traits +++ b/libcxx/include/type_traits @@ -293,15 +293,15 @@ template struct _LIBCPP_TYPE_VIS_ONLY is_void // __is_nullptr_t -template struct ____is_nullptr_t : public false_type {}; -template <> struct ____is_nullptr_t : public true_type {}; +template struct __is_nullptr_t_impl : public false_type {}; +template <> struct __is_nullptr_t_impl : public true_type {}; template struct _LIBCPP_TYPE_VIS_ONLY __is_nullptr_t - : public ____is_nullptr_t::type> {}; + : public __is_nullptr_t_impl::type> {}; #if _LIBCPP_STD_VER > 11 template struct _LIBCPP_TYPE_VIS_ONLY is_null_pointer - : public ____is_nullptr_t::type> {}; + : public __is_nullptr_t_impl::type> {}; #endif // is_integral @@ -644,13 +644,13 @@ template using add_pointer_t = typename add_pointer<_Tp>::type; // is_signed template ::value> -struct ___is_signed : public integral_constant {}; +struct __is_signed_impl : public integral_constant {}; template -struct ___is_signed<_Tp, false> : public true_type {}; // floating point +struct __is_signed_impl<_Tp, false> : public true_type {}; // floating point template ::value> -struct __is_signed : public ___is_signed<_Tp> {}; +struct __is_signed : public __is_signed_impl<_Tp> {}; template struct __is_signed<_Tp, false> : public false_type {}; @@ -659,13 +659,13 @@ template struct _LIBCPP_TYPE_VIS_ONLY is_signed : public __is_signed // is_unsigned template ::value> -struct ___is_unsigned : public integral_constant {}; +struct __is_unsigned_impl : public integral_constant {}; template -struct ___is_unsigned<_Tp, false> : public false_type {}; // floating point +struct __is_unsigned_impl<_Tp, false> : public false_type {}; // floating point template ::value> -struct __is_unsigned : public ___is_unsigned<_Tp> {}; +struct __is_unsigned : public __is_unsigned_impl<_Tp> {}; template struct __is_unsigned<_Tp, false> : public false_type {}; -- 2.7.4