003 File Manager
Current Path:
/usr/src/contrib/llvm-project/libcxx/src/support/runtime
usr
/
src
/
contrib
/
llvm-project
/
libcxx
/
src
/
support
/
runtime
/
📁
..
📄
exception_fallback.ipp
(3.02 KB)
📄
exception_glibcxx.ipp
(692 B)
📄
exception_libcxxabi.ipp
(756 B)
📄
exception_libcxxrt.ipp
(639 B)
📄
exception_msvc.ipp
(3.13 KB)
📄
exception_pointer_cxxabi.ipp
(1.79 KB)
📄
exception_pointer_glibcxx.ipp
(2.19 KB)
📄
exception_pointer_msvc.ipp
(2.73 KB)
📄
exception_pointer_unimplemented.ipp
(1.79 KB)
📄
new_handler_fallback.ipp
(701 B)
📄
stdexcept_default.ipp
(2.01 KB)
📄
stdexcept_vcruntime.ipp
(654 B)
Editing: exception_libcxxabi.ipp
// -*- C++ -*- //===----------------------------------------------------------------------===// // // 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 // //===----------------------------------------------------------------------===// #ifndef _LIBCPPABI_VERSION #error this header can only be used with libc++abi #endif namespace std { bool uncaught_exception() _NOEXCEPT { return uncaught_exceptions() > 0; } int uncaught_exceptions() _NOEXCEPT { # if _LIBCPPABI_VERSION > 1001 return __cxa_uncaught_exceptions(); # else return __cxa_uncaught_exception() ? 1 : 0; # endif } } // namespace std
Upload File
Create Folder