[libcxx-commits] [libcxx] [libc++][NFC] Make the exception implementation files self-contained (PR #164377)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Sat Oct 25 03:50:58 PDT 2025


================
@@ -17,9 +21,9 @@ bool uncaught_exception() noexcept { return uncaught_exceptions() > 0; }
 
 int uncaught_exceptions() noexcept {
 #if _LIBCPPABI_VERSION > 1001
-  return __cxa_uncaught_exceptions();
+  return abi::__cxa_uncaught_exceptions();
----------------
philnik777 wrote:

It's an alias to `__cxxabiv1` and it's defined in `cxxabi.h`.

https://github.com/llvm/llvm-project/pull/164377


More information about the libcxx-commits mailing list