summaryrefslogtreecommitdiffstats
path: root/libcxx/include/exception
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/exception')
-rw-r--r--libcxx/include/exception15
1 files changed, 0 insertions, 15 deletions
diff --git a/libcxx/include/exception b/libcxx/include/exception
index 186d379f08f..a130bca4e67 100644
--- a/libcxx/include/exception
+++ b/libcxx/include/exception
@@ -255,19 +255,4 @@ rethrow_if_nested(const _Ep&, typename enable_if<
} // std
-_LIBCPP_BEGIN_NAMESPACE_STD
-
-template <class _Exception>
-_LIBCPP_INLINE_VISIBILITY
-inline void __libcpp_throw(_Exception const& __e) {
-#ifndef _LIBCPP_NO_EXCEPTIONS
- throw __e;
-#else
- _VSTD::fprintf(stderr, "%s\n", __e.what());
- _VSTD::abort();
-#endif
-}
-
-_LIBCPP_END_NAMESPACE_STD
-
#endif // _LIBCPP_EXCEPTION
OpenPOWER on IntegriCloud