aboutsummaryrefslogtreecommitdiff
path: root/libcxx
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2019-07-14 18:31:55 +0000
committerEric Fiselier <eric@efcs.ca>2019-07-14 18:31:55 +0000
commitaae0cb67ed79bb7dddcda3438afd1263104cc689 (patch)
treec16893f4ab7ac4a3269e39309d0c672e6256be22 /libcxx
parent273857d1ea9a39ab976b6dda446b8564e88d068a (diff)
downloadllvm-aae0cb67ed79bb7dddcda3438afd1263104cc689.zip
llvm-aae0cb67ed79bb7dddcda3438afd1263104cc689.tar.gz
llvm-aae0cb67ed79bb7dddcda3438afd1263104cc689.tar.bz2
Cleanup whitespace in <variant>. NFC.
llvm-svn: 366026
Diffstat (limited to 'libcxx')
-rw-r--r--libcxx/include/variant18
1 files changed, 7 insertions, 11 deletions
diff --git a/libcxx/include/variant b/libcxx/include/variant
index 21871ae..88a625d 100644
--- a/libcxx/include/variant
+++ b/libcxx/include/variant
@@ -1089,14 +1089,6 @@ private:
}
};
-template <class... _Types>
-struct __overload;
-
-template <>
-struct __overload<> { void operator()() const; };
-
-
-
struct __no_narrowing_check {
template <class _Dest, class _Source>
using _Apply = __identity<_Dest>;
@@ -1120,14 +1112,18 @@ using __check_for_narrowing = typename _If<
>::template _Apply<_Dest, _Source>;
+template <class... _Types>
+struct __overload;
+
+template <>
+struct __overload<> { void operator()() const; };
+
template <class _Tp, class... _Types>
struct __overload<_Tp, _Types...> : __overload<_Types...> {
using __overload<_Types...>::operator();
template <class _Up>
- auto operator()(_Tp, _Up&&) const ->
-
- __check_for_narrowing<_Tp, _Up>;
+ auto operator()(_Tp, _Up&&) const -> __check_for_narrowing<_Tp, _Up>;
};
template <class _Base, class _Tp>