From 6d9da5891f6628ffa9d2f382113a8231121aeee1 Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Mon, 31 Aug 2015 14:43:41 +0000 Subject: [PATCH] Remove unused code. NFC git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@246445 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/type_traits | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/include/type_traits b/include/type_traits index 26ed76e6e..1aa4f6625 100644 --- a/include/type_traits +++ b/include/type_traits @@ -1337,18 +1337,6 @@ public: template class __promote : public __promote_imp<_A1, _A2, _A3> {}; -#ifdef _LIBCPP_STORE_AS_OPTIMIZATION - -// __transform - -template ::value> struct __transform {typedef _Tp type;}; -template struct __transform<_Tp, 1, true> {typedef unsigned char type;}; -template struct __transform<_Tp, 2, true> {typedef unsigned short type;}; -template struct __transform<_Tp, 4, true> {typedef unsigned int type;}; -template struct __transform<_Tp, 8, true> {typedef unsigned long long type;}; - -#endif // _LIBCPP_STORE_AS_OPTIMIZATION - // make_signed / make_unsigned typedef