summaryrefslogtreecommitdiff
path: root/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
commit324bb03bb94f67ae7f9092810e4e4f6bd8bf506e (patch)
tree30aec932e805f3f0e63f5207bc7df3401b8f0b36 /include/exception
parent92172b891fabc4d92cc6fa32b1c70d7d926571fa (diff)
Fixing whitespace problems
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@111750 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/exception')
-rw-r--r--include/exception14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/exception b/include/exception
index 772ada4ea..f02b10ff1 100644
--- a/include/exception
+++ b/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);