summaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxxabi/src/stdlib_exception.cpp
diff options
context:
space:
mode:
authorheretic <[email protected]>2022-02-10 16:45:46 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:45:46 +0300
commit81eddc8c0b55990194e112b02d127b87d54164a9 (patch)
tree9142afc54d335ea52910662635b898e79e192e49 /contrib/libs/cxxsupp/libcxxabi/src/stdlib_exception.cpp
parent397cbe258b9e064f49c4ca575279f02f39fef76e (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/cxxsupp/libcxxabi/src/stdlib_exception.cpp')
-rw-r--r--contrib/libs/cxxsupp/libcxxabi/src/stdlib_exception.cpp118
1 files changed, 59 insertions, 59 deletions
diff --git a/contrib/libs/cxxsupp/libcxxabi/src/stdlib_exception.cpp b/contrib/libs/cxxsupp/libcxxabi/src/stdlib_exception.cpp
index e7a2c9eab97..b1fc21f412a 100644
--- a/contrib/libs/cxxsupp/libcxxabi/src/stdlib_exception.cpp
+++ b/contrib/libs/cxxsupp/libcxxabi/src/stdlib_exception.cpp
@@ -1,70 +1,70 @@
//===----------------------------------------------------------------------===//
-//
-// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
-// See https://llvm.org/LICENSE.txt for license information.
-// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
-//
-//===----------------------------------------------------------------------===//
-
-#include <new>
-#include <exception>
-
-namespace std
-{
-
-// exception
-
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include <new>
+#include <exception>
+
+namespace std
+{
+
+// exception
+
exception::~exception() noexcept
-{
-}
-
+{
+}
+
const char* exception::what() const noexcept
-{
- return "std::exception";
-}
-
-// bad_exception
-
+{
+ return "std::exception";
+}
+
+// bad_exception
+
bad_exception::~bad_exception() noexcept
-{
-}
-
+{
+}
+
const char* bad_exception::what() const noexcept
-{
- return "std::bad_exception";
-}
-
-
-// bad_alloc
-
+{
+ return "std::bad_exception";
+}
+
+
+// bad_alloc
+
bad_alloc::bad_alloc() noexcept
-{
-}
-
+{
+}
+
bad_alloc::~bad_alloc() noexcept
-{
-}
-
-const char*
+{
+}
+
+const char*
bad_alloc::what() const noexcept
-{
- return "std::bad_alloc";
-}
-
-// bad_array_new_length
-
+{
+ return "std::bad_alloc";
+}
+
+// bad_array_new_length
+
bad_array_new_length::bad_array_new_length() noexcept
-{
-}
-
+{
+}
+
bad_array_new_length::~bad_array_new_length() noexcept
-{
-}
-
-const char*
+{
+}
+
+const char*
bad_array_new_length::what() const noexcept
-{
- return "bad_array_new_length";
-}
-
-} // std
+{
+ return "bad_array_new_length";
+}
+
+} // std