From b10079e936be02c375333f89e87cd02900d4b72d Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Mon, 4 Apr 2016 23:23:35 +0000 Subject: [PATCH] Remove unused internal routines. No functional change llvm-svn: 265363 --- libcxx/include/algorithm | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/libcxx/include/algorithm b/libcxx/include/algorithm index f439396dcc83..2ea1daed94f0 100644 --- a/libcxx/include/algorithm +++ b/libcxx/include/algorithm @@ -5754,34 +5754,6 @@ prev_permutation(_BidirectionalIterator __first, _BidirectionalIterator __last) __less::value_type>()); } -template -inline _LIBCPP_INLINE_VISIBILITY -typename enable_if -< - is_integral<_Tp>::value, - _Tp ->::type -__rotate_left(_Tp __t, _Tp __n = 1) -{ - const unsigned __bits = static_cast(sizeof(_Tp) * __CHAR_BIT__ - 1); - __n &= __bits; - return static_cast<_Tp>((__t << __n) | (static_cast::type>(__t) >> (__bits - __n))); -} - -template -inline _LIBCPP_INLINE_VISIBILITY -typename enable_if -< - is_integral<_Tp>::value, - _Tp ->::type -__rotate_right(_Tp __t, _Tp __n = 1) -{ - const unsigned __bits = static_cast(sizeof(_Tp) * __CHAR_BIT__ - 1); - __n &= __bits; - return static_cast<_Tp>((__t << (__bits - __n)) | (static_cast::type>(__t) >> __n)); -} - _LIBCPP_END_NAMESPACE_STD #endif // _LIBCPP_ALGORITHM