aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/exception
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2016-08-25 17:47:09 +0000
committerMarshall Clow <mclow.lists@gmail.com>2016-08-25 17:47:09 +0000
commit0fc8cec796387575c0c4a2635ba5579f60deeb75 (patch)
treef63bdb0decdc8765207400d8af7d86f84fc09f48 /libcxx/include/exception
parent6c43b850b777eb60e8c2146d7a4e0303937078d9 (diff)
downloadllvm-0fc8cec796387575c0c4a2635ba5579f60deeb75.zip
llvm-0fc8cec796387575c0c4a2635ba5579f60deeb75.tar.gz
llvm-0fc8cec796387575c0c4a2635ba5579f60deeb75.tar.bz2
Followon to r279744. Find the other exception types and make __throw_XXX routines (and call them). Remove the generic __libcpp_throw routine, since no one uses it anymore.
llvm-svn: 279763
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 186d379..a130bca 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