Skip to content

Commit ca0bcae

Browse files
std.cfg: Added support for std::uncaught_exception(). (danmar#7183)
Reference: https://en.cppreference.com/w/cpp/error/uncaught_exception --------- Co-authored-by: Oliver Stöneberg <[email protected]>
1 parent 658ba91 commit ca0bcae

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

cfg/std.cfg

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8780,6 +8780,23 @@ initializer list (7) string& replace (const_iterator i1, const_iterator i2, init
87808780
<use-retval/>
87818781
<returnValue type="const char *"/>
87828782
</function>
8783+
<!-- https://en.cppreference.com/w/cpp/error/uncaught_exception -->
8784+
<!-- (until C++11): bool std::uncaught_exception() throw(); -->
8785+
<!-- (since C++11) (deprecated in C++17) (removed in C++20): bool std::uncaught_exception() noexcept; -->
8786+
<function name="std::uncaught_exception">
8787+
<noreturn>false</noreturn>
8788+
<returnValue type="bool"/>
8789+
<use-retval/>
8790+
<leak-ignore/>
8791+
</function>
8792+
<!-- https://en.cppreference.com/w/cpp/error/uncaught_exception -->
8793+
<!-- (since C++17) (constexpr since C++26): int std::uncaught_exceptions() noexcept; -->
8794+
<function name="std::uncaught_exceptions">
8795+
<noreturn>false</noreturn>
8796+
<returnValue type="int"/>
8797+
<use-retval/>
8798+
<leak-ignore/>
8799+
</function>
87838800
<memory>
87848801
<alloc init="false" buffer-size="malloc">malloc,std::malloc</alloc>
87858802
<alloc init="true" buffer-size="calloc">calloc,std::calloc</alloc>

0 commit comments

Comments
 (0)