summaryrefslogtreecommitdiffstats
path: root/libcxx
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2015-08-31 14:43:41 +0000
committerMarshall Clow <mclow.lists@gmail.com>2015-08-31 14:43:41 +0000
commitcd7c3e671beb6484b2657f12faa90d75e224ee33 (patch)
treee7ea3ed780154f0d09d22d23c3ac700c2e54209d /libcxx
parenta96b33b1b13e8deb9530176fe9d2bf4e9a96031d (diff)
downloadbcm5719-llvm-cd7c3e671beb6484b2657f12faa90d75e224ee33.tar.gz
bcm5719-llvm-cd7c3e671beb6484b2657f12faa90d75e224ee33.zip
Remove unused code. NFC
llvm-svn: 246445
Diffstat (limited to 'libcxx')
-rw-r--r--libcxx/include/type_traits12
1 files changed, 0 insertions, 12 deletions
diff --git a/libcxx/include/type_traits b/libcxx/include/type_traits
index 26ed76e6e62..1aa4f66251b 100644
--- a/libcxx/include/type_traits
+++ b/libcxx/include/type_traits
@@ -1337,18 +1337,6 @@ public:
template <class _A1, class _A2 = void, class _A3 = void>
class __promote : public __promote_imp<_A1, _A2, _A3> {};
-#ifdef _LIBCPP_STORE_AS_OPTIMIZATION
-
-// __transform
-
-template <class _Tp, size_t = sizeof(_Tp), bool = is_scalar<_Tp>::value> struct __transform {typedef _Tp type;};
-template <class _Tp> struct __transform<_Tp, 1, true> {typedef unsigned char type;};
-template <class _Tp> struct __transform<_Tp, 2, true> {typedef unsigned short type;};
-template <class _Tp> struct __transform<_Tp, 4, true> {typedef unsigned int type;};
-template <class _Tp> struct __transform<_Tp, 8, true> {typedef unsigned long long type;};
-
-#endif // _LIBCPP_STORE_AS_OPTIMIZATION
-
// make_signed / make_unsigned
typedef
OpenPOWER on IntegriCloud