aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/libcxx/src/support/runtime/exception_libcxxrt.ipp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm-project/libcxx/src/support/runtime/exception_libcxxrt.ipp')
-rw-r--r--contrib/llvm-project/libcxx/src/support/runtime/exception_libcxxrt.ipp11
1 files changed, 3 insertions, 8 deletions
diff --git a/contrib/llvm-project/libcxx/src/support/runtime/exception_libcxxrt.ipp b/contrib/llvm-project/libcxx/src/support/runtime/exception_libcxxrt.ipp
index 62aa3229ed36..f17fecc71e34 100644
--- a/contrib/llvm-project/libcxx/src/support/runtime/exception_libcxxrt.ipp
+++ b/contrib/llvm-project/libcxx/src/support/runtime/exception_libcxxrt.ipp
@@ -8,18 +8,13 @@
//===----------------------------------------------------------------------===//
#ifndef LIBCXXRT
-#error this header may only be used when targeting libcxxrt
+# error this header may only be used when targeting libcxxrt
#endif
namespace std {
-bad_exception::~bad_exception() noexcept
-{
-}
+bad_exception::~bad_exception() noexcept {}
-const char* bad_exception::what() const noexcept
-{
- return "std::bad_exception";
-}
+const char* bad_exception::what() const noexcept { return "std::bad_exception"; }
} // namespace std