summaryrefslogtreecommitdiffstats
path: root/libcxx/include/exception
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2010-08-22 00:02:43 +0000
committerHoward Hinnant <hhinnant@apple.com>2010-08-22 00:02:43 +0000
commitb3371f6f4909a1e2034c69011d0baa1a39b21d48 (patch)
tree46a1498f558a86d95ad909e2b075b2ce1ff59070 /libcxx/include/exception
parent86353416a7115dc430b9cd47a1aaeb8f19c34f2c (diff)
downloadbcm5719-llvm-b3371f6f4909a1e2034c69011d0baa1a39b21d48.tar.gz
bcm5719-llvm-b3371f6f4909a1e2034c69011d0baa1a39b21d48.zip
Fixing whitespace problems
llvm-svn: 111750
Diffstat (limited to 'libcxx/include/exception')
-rw-r--r--libcxx/include/exception14
1 files changed, 7 insertions, 7 deletions
diff --git a/libcxx/include/exception b/libcxx/include/exception
index 772ada4eadc..f02b10ff163 100644
--- a/libcxx/include/exception
+++ b/libcxx/include/exception
@@ -150,7 +150,7 @@ make_exception_ptr(_E __e)
{
return current_exception();
}
-#endif
+#endif // _LIBCPP_NO_EXCEPTIONS
}
// nested_exception
@@ -178,17 +178,17 @@ struct __nested
};
template <class _Tp>
-void
+void
#ifdef _LIBCPP_MOVE
throw_with_nested /*[[noreturn]]*/ (_Tp&& __t, typename enable_if<
is_class<typename remove_reference<_Tp>::type>::value &&
!is_base_of<nested_exception, typename remove_reference<_Tp>::type>::value
>::type* = 0)
-#else
+#else // _LIBCPP_MOVE
throw_with_nested (_Tp& __t, typename enable_if<
is_class<_Tp>::value && !is_base_of<nested_exception, _Tp>::value
>::type* = 0)
-#endif
+#endif // _LIBCPP_MOVE
{
#ifndef _LIBCPP_NO_EXCEPTIONS
throw __nested<typename remove_reference<_Tp>::type>(_STD::forward<_Tp>(__t));
@@ -196,17 +196,17 @@ throw_with_nested (_Tp& __t, typename enable_if<
}
template <class _Tp>
-void
+void
#ifdef _LIBCPP_MOVE
throw_with_nested /*[[noreturn]]*/ (_Tp&& __t, typename enable_if<
!is_class<typename remove_reference<_Tp>::type>::value ||
is_base_of<nested_exception, typename remove_reference<_Tp>::type>::value
>::type* = 0)
-#else
+#else // _LIBCPP_MOVE
throw_with_nested (_Tp& __t, typename enable_if<
!is_class<_Tp>::value || is_base_of<nested_exception, _Tp>::value
>::type* = 0)
-#endif
+#endif // _LIBCPP_MOVE
{
#ifndef _LIBCPP_NO_EXCEPTIONS
throw _STD::forward<_Tp>(__t);
OpenPOWER on IntegriCloud