summaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxx/glibcxx_eh_cxx17.cpp
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2025-03-03 19:55:08 +0300
committerrobot-piglet <[email protected]>2025-03-03 20:18:36 +0300
commit92c70f8129e50e748728331eb0605da6f2d58f36 (patch)
tree8330797ca61eb6adc092195729b441cb8b2b14e7 /contrib/libs/cxxsupp/libcxx/glibcxx_eh_cxx17.cpp
parent2bc1762eb4cc1110a3dfe6195ec4ee7423a9e30e (diff)
Intermediate changes
commit_hash:be434c99b42a4b4baf5cc164e6e573152ab3a84e
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx/glibcxx_eh_cxx17.cpp')
-rw-r--r--contrib/libs/cxxsupp/libcxx/glibcxx_eh_cxx17.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/glibcxx_eh_cxx17.cpp b/contrib/libs/cxxsupp/libcxx/glibcxx_eh_cxx17.cpp
deleted file mode 100644
index 5e5ad083ba9..00000000000
--- a/contrib/libs/cxxsupp/libcxx/glibcxx_eh_cxx17.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
-#include <cxxabi.h>
-
-/**
- * libc++ expects std::uncaught_exceptions() to be provided by C++ runtime library.
- *
- * GCC versions prior to GCC 6 did not provide this function yet, but it can be
- * implemented using its API.
- *
- * This implementation should cover ubuntu-12, ubuntu-14, ubuntu-16.
- */
-
-namespace std {
- int uncaught_exceptions() noexcept {
- const auto* globals{__cxxabiv1::__cxa_get_globals()};
- return static_cast<int>(globals->uncaughtExceptions);
- }
-}