llvm-capstone/libcxx/include
Nikolas Klauser aade74675c [libc++][PSTL] Overhaul exceptions handling
This makes exception handling a lot simpler, since we don't have to convert any exceptions this way. Is also properly handles all the user-thrown exceptions.

Reviewed By: ldionne, #libc

Spies: arichardson, mstorsjo, libcxx-commits

Differential Revision: https://reviews.llvm.org/D154238
2023-10-06 23:01:30 +02:00
..
__algorithm [libc++][PSTL] Overhaul exceptions handling 2023-10-06 23:01:30 +02:00
__atomic [libc++][NFC] Refactor return type enable_ifs to defaulted template arguments 2023-08-15 12:19:21 -07:00
__bit [libc++] Fix the rotate direction used in countl_zero() 2023-09-12 18:19:56 -04:00
__charconv [libc++][NFC] Update the remaining enable_ifs 2023-09-01 17:51:17 -07:00
__chrono [libc++][chrono] Adds tzdb_list implementation. 2023-09-06 20:48:07 +02:00
__compare [libc++] Make everything in namespace std have default type visibility and hidden visibility and remove _LIBCPP_ENUM_VIS 2023-08-19 15:16:04 -07:00
__concepts Fixing conflicting macro definitions between curses.h and the standard library. 2023-07-06 17:21:08 +00:00
__condition_variable [libc++][NFC] Refactor __enable_if return types to defaulted template parameters 2023-09-01 17:52:31 -07:00
__coroutine [libc++][hardening][NFC] Introduce _LIBCPP_ASSERT_UNCATEGORIZED. 2023-06-28 15:10:31 -07:00
__debug_utils [libc++][hardening][NFC] Introduce _LIBCPP_ASSERT_UNCATEGORIZED. 2023-06-28 15:10:31 -07:00
__exception [libc++][test] Add '-Wdeprecated-copy', '-Wdeprecated-copy-dtor' warnings to the test suite 2023-09-12 08:53:38 -04:00
__expected [libc++][test] Add '-Wdeprecated-copy', '-Wdeprecated-copy-dtor' warnings to the test suite 2023-09-12 08:53:38 -04:00
__filesystem [libc++][NFC] Update the remaining enable_ifs 2023-09-01 17:51:17 -07:00
__format [libc++][test] Add '-Wdeprecated-copy', '-Wdeprecated-copy-dtor' warnings to the test suite 2023-09-12 08:53:38 -04:00
__functional [libcxx] replaces SFINAE with requires-expressions in bind_front and bind_back (#68249) 2023-10-05 10:32:08 -07:00
__fwd [libc++] Make everything in namespace std have default type visibility and hidden visibility and remove _LIBCPP_ENUM_VIS 2023-08-19 15:16:04 -07:00
__ios
__iterator [libc++] Implement P2538R1 "ADL-proof std::projected" (#65411) 2023-09-15 10:09:38 -04:00
__locale_dir/locale_base_api [libc++][Modules] locale fails to compile with clang modules when _LIBCPP_LOCALE__L_EXTENSIONS is undefined 2023-08-24 14:22:41 -07:00
__math [libc++][NFC] Replace typedefs with using in the math headers 2023-08-03 08:51:50 -07:00
__mdspan [libc++][hardening] Mark the remaining stray assertions as uncategorized 2023-08-29 16:32:23 -07:00
__memory [libc++] Use correct size for deallocation of arrays in shared_ptr (#68233) 2023-10-05 15:27:58 +02:00
__memory_resource [libc++][Modules] Add missing __fwd includes 2023-07-07 14:09:27 -07:00
__mutex [libc++][NFC] Introduce named states in std::call_once (#66289) 2023-09-15 10:14:13 -04:00
__numeric [libc++][PSTL] Overhaul exceptions handling 2023-10-06 23:01:30 +02:00
__random [libc++][NFC] Refactor enable_ifs in defaulted arguments to defaulted template arguments 2023-08-18 13:08:18 -07:00
__ranges [libc++] Fix implementation of iota_view::size (#67819) 2023-10-04 18:34:43 -04:00
__stop_token [libc++] Implement std::condition_variable_any::wait[_for/until] overloads that take stop_token 2023-09-29 13:50:16 +01:00
__string [libc++] Reintroduce the removed std::char_traits specialization (#66153) 2023-09-13 12:30:05 -04:00
__support libcxx: Bring back unsigned return from wcstoull_l 2023-07-08 13:54:30 +02:00
__system_error [libc++] Adds __throw_system_error overload. 2023-08-29 19:08:18 +02:00
__thread [libc++] implement std::jthread 2023-09-16 19:54:19 +01:00
__tuple [libc++] Merge _LIBCPP_FUNC_VIS, _LIBCPP_TYPE_VIS and _LIBCPP_EXCEPTION_ABI into _LIBCPP_EXPORTED_FROM_ABI 2023-06-15 08:56:45 -07:00
__type_traits Revert "[clang][SemaCXX] Diagnose tautological uses of consteval if and is_constant_evaluated" 2023-09-27 18:58:01 +02:00
__utility [libc++][PSTL] Overhaul exceptions handling 2023-10-06 23:01:30 +02:00
__variant [libc++][NFC] Replace _LIBCPP_STD_VER > x with _LIBCPP_STD_VER >= x 2023-02-15 16:52:25 +01:00
experimental [libcxx] <experimental/simd> Add _LIBCPP_HIDE_FROM_ABI to internal br… (#66977) 2023-09-29 16:32:54 +02:00
ext Revert "[libc++] Remove UB in list, forward_list and __hash_table" 2023-10-06 10:09:36 +00:00
__assert [libc++][hardening] Deprecate _LIBCPP_ENABLE_ASSERTIONS. 2023-07-14 16:58:47 -07:00
__availability [libc++] Recategorize additional instantiations in the dylib as availability macros 2023-10-06 11:21:05 +02:00
__bit_reference [libc++] Optimize ranges::count for __bit_iterators 2023-10-06 22:58:41 +02:00
__config [libc++] Recategorize additional instantiations in the dylib as availability macros 2023-10-06 11:21:05 +02:00
__config_site.in [libc++][hardening] Add back the safe mode. 2023-09-12 12:01:51 -07:00
__hash_table Revert "[libc++] Remove UB in list, forward_list and __hash_table" 2023-10-06 10:09:36 +00:00
__locale [libc++] Simplify the implementation of locale::id (#65781) 2023-09-12 19:20:27 -04:00
__mbstate_t.h [libc++] Include "bits/alltypes.h" to provide mbstate_t when using musl libc 2023-05-30 17:59:32 -07:00
__node_handle Revert "[libc++] Remove UB in list, forward_list and __hash_table" 2023-10-06 10:09:36 +00:00
__split_buffer [libc++][NFC] Refactor __enable_if return types to defaulted template parameters 2023-09-01 17:52:31 -07:00
__std_clang_module [libc++][Modules] Simplify the __std_clang_module header generation 2023-08-17 22:34:54 -07:00
__std_mbstate_t.h [libc++] cuchar redeclares ::mbstate_t when it's in its own clang module 2023-05-01 13:48:20 -05:00
__threading_support [libc++] Fix __threading_support when used with C11 threading (#66780) 2023-09-19 18:15:26 -04:00
__tree Revert "[libc++] Remove UB in list, forward_list and __hash_table" 2023-10-06 10:09:36 +00:00
__undef_macros Fixing conflicting macro definitions between curses.h and the standard library. 2023-07-06 17:21:08 +00:00
__verbose_abort [libc++] Fix __verbose_abort in C++11 2023-04-28 15:30:08 -04:00
algorithm [libc++] Implement ranges::ends_with 2023-09-18 11:56:10 -07:00
any Fixing conflicting macro definitions between curses.h and the standard library. 2023-07-06 17:21:08 +00:00
array [libc++][NFC] Refactor __enable_if return types to defaulted template parameters 2023-09-01 17:52:31 -07:00
atomic [libc++] Granularize <atomic> includes 2023-03-10 13:28:29 +01:00
barrier [libc++] add basic runtime assertions to <barrier> 2023-07-15 12:50:28 +02:00
bit [libc++] Fix the signature of std::rotl and std::rotr 2023-08-12 08:46:11 -07:00
bitset [libc++] Optimize ranges::count for __bit_iterators 2023-10-06 22:58:41 +02:00
cassert [libc++] Add missing __has_include checks for C headers not provided by libc++ 2022-11-23 09:50:14 -05:00
ccomplex
cctype
cerrno
cfenv
cfloat
charconv [libc++][charconv] Adds operator bool. 2023-08-23 19:25:10 +02:00
chrono [libc++] Refactor node creation and destruction in list and forward_list (#65614) 2023-09-15 10:10:26 -04:00
cinttypes [libc++][NFC] Fix some standard-mandated includes comments 2022-09-27 21:11:53 +02:00
ciso646
climits
clocale
CMakeLists.txt [libc++][PSTL] Overhaul exceptions handling 2023-10-06 23:01:30 +02:00
cmath [libc++][NFC] Refactor __enable_if return types to defaulted template parameters 2023-09-01 17:52:31 -07:00
codecvt [libc++] Move once_flag outside of <mutex> 2023-08-31 14:56:42 -04:00
compare [libc++] Module fixes for __synth_three_way. 2023-04-07 18:54:09 +02:00
complex [libc++][NFC] Refactor return type enable_ifs to defaulted template arguments 2023-08-15 12:19:21 -07:00
complex.h [libc++] Only include_next C library headers when they exist 2022-11-17 10:30:20 -05:00
concepts [libc++] Granularize <type_traits> includes in <concepts> 2022-12-20 21:37:39 +01:00
condition_variable [libc++] Implement std::condition_variable_any::wait[_for/until] overloads that take stop_token 2023-09-29 13:50:16 +01:00
coroutine [libc++] Granularize <type_traits> includes in <bit>, <numbers> and <coroutine> 2023-01-21 15:09:21 +01:00
csetjmp
csignal [libc++] Add missing __has_include checks for C headers not provided by libc++ 2022-11-23 09:50:14 -05:00
cstdarg [libc++] Add missing __has_include checks for C headers not provided by libc++ 2022-11-23 09:50:14 -05:00
cstdbool
cstddef [libc++][NFC] Replace _LIBCPP_STD_VER > x with _LIBCPP_STD_VER >= x 2023-02-15 16:52:25 +01:00
cstdint
cstdio
cstdlib [libc++] Fixes disabling wide character. 2023-08-19 19:09:16 +02:00
cstring [libc++] Move constexpr <cstring> functions into their own headers and remove unused <cstring> includes 2023-02-21 16:56:29 +01:00
ctgmath
ctime [libc++][NFC] Replace _LIBCPP_STD_VER > x with _LIBCPP_STD_VER >= x 2023-02-15 16:52:25 +01:00
ctype.h [libc++] Only include_next C library headers when they exist 2022-11-17 10:30:20 -05:00
cuchar
cwchar [libc++] Forward to std::{,w}memchr in std::find 2023-05-25 07:59:50 -07:00
cwctype
deque [libc++][NFC] Refactor enable_ifs in defaulted arguments to defaulted template arguments 2023-08-18 13:08:18 -07:00
errno.h [libc++] Only include_next C library headers when they exist 2022-11-17 10:30:20 -05:00
exception [libc++] Granularize <exception> 2023-03-12 22:19:41 +01:00
execution [libc++][PSTL] Add more specialized backend customization points 2023-05-11 13:54:28 -07:00
expected [libc++] Implement std::expected P0323R12 2022-12-14 15:43:42 +00:00
fenv.h [libc++] Only include_next C library headers when they exist 2022-11-17 10:30:20 -05:00
filesystem [libc++] Expand the contents of LIBCXX_ENABLE_FILESYSTEM 2023-06-27 09:18:40 -04:00
float.h [libc++] Only include_next C library headers when they exist 2022-11-17 10:30:20 -05:00
format [libc++][format] Removes the experimental status. 2023-05-24 17:16:22 +02:00
forward_list Revert "[libc++] Remove UB in list, forward_list and __hash_table" 2023-10-06 10:09:36 +00:00
fstream [libc++] Recategorize additional instantiations in the dylib as availability macros 2023-10-06 11:21:05 +02:00
functional [libc++] Remove the legacy debug mode. 2023-06-29 14:49:51 -07:00
future [libc++] Make future_error constructor standard-compliant 2023-10-05 09:11:49 -04:00
initializer_list
inttypes.h [libc++] Only include_next C library headers when they exist 2022-11-17 10:30:20 -05:00
iomanip [libc++] Add clang-tidy check for version checks 2023-03-08 15:17:25 +01:00
ios [libc++] Move once_flag outside of <mutex> 2023-08-31 14:56:42 -04:00
iosfwd [libc++] Fixes disabling wide character. 2023-08-19 19:09:16 +02:00
iostream [libc++] Merge _LIBCPP_FUNC_VIS, _LIBCPP_TYPE_VIS and _LIBCPP_EXCEPTION_ABI into _LIBCPP_EXPORTED_FROM_ABI 2023-06-15 08:56:45 -07:00
istream [libc++][NFC] Update the remaining enable_ifs 2023-09-01 17:51:17 -07:00
iterator [libc++] Refactor the tests for [iterator.range] (#67496) 2023-09-28 09:04:07 -04:00
latch [libc++] add basic runtime assertions to <latch> 2023-07-05 17:34:23 -04:00
libcxx.imp [libc++][NFC] Remove the old PSTL headers 2023-08-11 08:29:15 -07:00
limits [libc++] Implement P2614R2 (Deprecate numeric_limits::has_denorm) 2023-10-06 11:30:55 +02:00
limits.h [libc++] Don't workaround GCC issue on non-GCC compilers 2022-11-21 16:08:50 -05:00
list Revert "[libc++] Remove UB in list, forward_list and __hash_table" 2023-10-06 10:09:36 +00:00
locale [libc++] Use the default initializer for char_type in std::num_get::do_get 2023-09-11 14:16:47 -04:00
locale.h [libc++] Only include_next C library headers when they exist 2022-11-17 10:30:20 -05:00
map [libc++][NFC] Refactor __enable_if return types to defaulted template parameters 2023-09-01 17:52:31 -07:00
math.h [libc++] Add std::fpclassify overloads for floating-point. (#67913) 2023-10-05 21:18:02 +02:00
mdspan [libc++][nfc] Fixes emacs magic marker. 2023-09-09 14:43:12 +02:00
memory [libc++][spaceship] P1614R2: Removed global operator!= from allocator 2023-06-12 09:41:56 +03:00
memory_resource [libc++][spaceship] P1614R2: Removed ops from memory_resource, polymorphic_allocator 2023-06-11 19:49:35 +03:00
module.modulemap.in [libc++][PSTL] Overhaul exceptions handling 2023-10-06 23:01:30 +02:00
mutex [libc++] Move once_flag outside of <mutex> 2023-08-31 14:56:42 -04:00
new [libc++][test] Add '-Wdeprecated-copy', '-Wdeprecated-copy-dtor' warnings to the test suite 2023-09-12 08:53:38 -04:00
numbers [libc++][NFC] Replace _LIBCPP_STD_VER > x with _LIBCPP_STD_VER >= x 2023-02-15 16:52:25 +01:00
numeric [libc++][PSTL] Implement std::reduce and std::transform_reduce 2023-06-01 08:52:08 -07:00
optional [libc++][test] Add '-Wdeprecated-copy', '-Wdeprecated-copy-dtor' warnings to the test suite 2023-09-12 08:53:38 -04:00
ostream [libc++][NFC] Update the remaining enable_ifs 2023-09-01 17:51:17 -07:00
print [libc++][print] Adds stdout functions. 2023-07-22 11:28:17 +02:00
queue [libc++][NFC] Refactor __enable_if return types to defaulted template parameters 2023-09-01 17:52:31 -07:00
random [libc++] Remove <cstdlib> includes 2023-04-09 02:52:33 +02:00
ranges [libc++][ranges] Implement P2443R1: views::chunk_by 2023-09-05 16:19:49 -07:00
ratio [libc++] "Implements" new SI prefixis. 2023-06-19 17:04:35 +02:00
regex [libc++][NFC] Update the remaining enable_ifs 2023-09-01 17:51:17 -07:00
scoped_allocator [libc++][NFC] Update the remaining enable_ifs 2023-09-01 17:51:17 -07:00
semaphore [libc++] Remove unused include in __threading_support 2023-09-06 09:39:39 -04:00
set [libc++][NFC] Refactor return type enable_ifs to defaulted template arguments 2023-08-15 12:19:21 -07:00
setjmp.h [libc++] Only include_next C library headers when they exist 2022-11-17 10:30:20 -05:00
shared_mutex [libc++] Fix template parameter naming and enforce it through readability-identifier-naming 2023-07-24 19:54:12 -07:00
source_location [libc++] Don't try to provide source_location on AppleClang 1403 2023-03-28 09:53:07 -04:00
span [libc++][hardening] Categorize most assertions inside the container classes. 2023-07-20 10:14:43 -07:00
sstream [libc++] Recategorize additional instantiations in the dylib as availability macros 2023-10-06 11:21:05 +02:00
stack [libc++][NFC] Refactor __enable_if return types to defaulted template parameters 2023-09-01 17:52:31 -07:00
stdatomic.h [libc++][NFC] Replace _LIBCPP_STD_VER > x with _LIBCPP_STD_VER >= x 2023-02-15 16:52:25 +01:00
stdbool.h [libc++][NFC] Consistently use newline between license and include guard 2022-11-25 10:25:17 -05:00
stddef.h Revert "[libc++] Remove workarounds for systems that used to require __need_XXX macros" 2022-11-22 20:46:38 +09:00
stdexcept [libc++][test] Add '-Wdeprecated-copy', '-Wdeprecated-copy-dtor' warnings to the test suite 2023-09-12 08:53:38 -04:00
stdint.h [libc++] Only include_next C library headers when they exist 2022-11-17 10:30:20 -05:00
stdio.h [libc++] Wipe some more macros that do not belong in C++ forwarding headers 2023-09-07 13:32:26 -04:00
stdlib.h [libc++] Remove Solaris related code 2023-05-05 08:39:51 -04:00
stop_token [libc++] Implement stop_token 2023-06-05 15:10:36 +01:00
streambuf Revert "[libc++] Apply _LIBCPP_EXCLUDE_FROM_EXPLICIT_INSTANTIATION only in classes that we have instantiated externally" 2023-05-24 08:48:18 -07:00
string [libcxx] Don't deallocate non-pointer data in string assignment. (#67200) 2023-09-24 09:12:57 -04:00
string_view [libc++] [string_view] Remove operators made redundant by C++20 (#66206) 2023-09-18 10:30:44 -04:00
string.h [libc++] Remove Solaris related code 2023-05-05 08:39:51 -04:00
strstream [libc++] Merge _LIBCPP_FUNC_VIS, _LIBCPP_TYPE_VIS and _LIBCPP_EXCEPTION_ABI into _LIBCPP_EXPORTED_FROM_ABI 2023-06-15 08:56:45 -07:00
system_error [libc++] Move __errc to __system_error/errc.h 2023-04-10 19:23:42 +02:00
tgmath.h [libc++] Only include_next C library headers when they exist 2022-11-17 10:30:20 -05:00
thread [libc++] implement std::jthread 2023-09-16 19:54:19 +01:00
tuple [libc++] Use _Lazy in tuple constructors 2023-09-26 09:24:05 -04:00
type_traits [libc++] Untangles invoke. 2023-05-24 07:51:27 +02:00
typeindex [libc++][NFC] Replace _LIBCPP_STD_VER > x with _LIBCPP_STD_VER >= x 2023-02-15 16:52:25 +01:00
typeinfo [libc++][test] Add '-Wdeprecated-copy', '-Wdeprecated-copy-dtor' warnings to the test suite 2023-09-12 08:53:38 -04:00
uchar.h [libc++] cuchar redeclares ::mbstate_t when it's in its own clang module 2023-05-01 13:48:20 -05:00
unordered_map Revert "[libc++] Remove UB in list, forward_list and __hash_table" 2023-10-06 10:09:36 +00:00
unordered_set Revert "[libc++] Remove UB in list, forward_list and __hash_table" 2023-10-06 10:09:36 +00:00
utility [libc++] Updates C++2b to C++23. 2023-05-23 18:44:41 +02:00
valarray [libc++][NFC] Refactor return type enable_ifs to defaulted template arguments 2023-08-15 12:19:21 -07:00
variant [libc++] Fix template parameter naming and enforce it through readability-identifier-naming 2023-07-24 19:54:12 -07:00
vector [libc++] Optimize vector push_back to avoid continuous load and store of end pointer 2023-10-02 09:12:37 -04:00
version [libc++] Implement std::condition_variable_any::wait[_for/until] overloads that take stop_token 2023-09-29 13:50:16 +01:00
wchar.h [runtimes][NFC] Remove stray whitespace on extern C comments 2023-08-11 13:25:01 -04:00
wctype.h