summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-05-18 23:09:24 +0000
committerEric Fiselier <eric@efcs.ca>2016-05-18 23:09:24 +0000
commit53df829bd18562f7bceb3f50bc6568dfc314b8f9 (patch)
tree0b659708f20fe8796e30c736898809fba15ff6b8
parent083f38939bc7231672413b62c85275e041ecc068 (diff)
downloadbcm5719-llvm-53df829bd18562f7bceb3f50bc6568dfc314b8f9.tar.gz
bcm5719-llvm-53df829bd18562f7bceb3f50bc6568dfc314b8f9.zip
Cleanup superfluous std:: qualifiers in <type_traits>
llvm-svn: 269998
-rw-r--r--libcxx/include/type_traits14
1 files changed, 7 insertions, 7 deletions
diff --git a/libcxx/include/type_traits b/libcxx/include/type_traits
index ad32376b666..a8b0bd067d5 100644
--- a/libcxx/include/type_traits
+++ b/libcxx/include/type_traits
@@ -1008,8 +1008,8 @@ struct __is_referenceable_impl {
};
template <class _Tp>
-struct __is_referenceable : std::integral_constant<bool,
- !std::is_same<decltype(__is_referenceable_impl::__test<_Tp>(0)), __two>::value> {};
+struct __is_referenceable : integral_constant<bool,
+ !is_same<decltype(__is_referenceable_impl::__test<_Tp>(0)), __two>::value> {};
// add_const
@@ -2177,7 +2177,7 @@ move(_Tp&& __t) _NOEXCEPT
template <class _Tp>
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX11
_Tp&&
-forward(typename std::remove_reference<_Tp>::type& __t) _NOEXCEPT
+forward(typename remove_reference<_Tp>::type& __t) _NOEXCEPT
{
return static_cast<_Tp&&>(__t);
}
@@ -2185,9 +2185,9 @@ forward(typename std::remove_reference<_Tp>::type& __t) _NOEXCEPT
template <class _Tp>
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX11
_Tp&&
-forward(typename std::remove_reference<_Tp>::type&& __t) _NOEXCEPT
+forward(typename remove_reference<_Tp>::type&& __t) _NOEXCEPT
{
- static_assert(!std::is_lvalue_reference<_Tp>::value,
+ static_assert(!is_lvalue_reference<_Tp>::value,
"Can not forward an rvalue as an lvalue.");
return static_cast<_Tp&&>(__t);
}
@@ -2213,7 +2213,7 @@ move(const _Tp& __t)
template <class _Tp>
inline _LIBCPP_INLINE_VISIBILITY
_Tp&
-forward(typename std::remove_reference<_Tp>::type& __t) _NOEXCEPT
+forward(typename remove_reference<_Tp>::type& __t) _NOEXCEPT
{
return __t;
}
@@ -4568,7 +4568,7 @@ struct underlying_type
#endif // _LIBCPP_UNDERLYING_TYPE
-template <class _Tp, bool = std::is_enum<_Tp>::value>
+template <class _Tp, bool = is_enum<_Tp>::value>
struct __sfinae_underlying_type
{
typedef typename underlying_type<_Tp>::type type;
OpenPOWER on IntegriCloud