llvm-capstone/libcxx/include
Amirreza Ashouri aa8601dc6d
[libc++] [string_view] Remove operators made redundant by C++20 (#66206)
Thanks to Giuseppe D'Angelo for pointing this out on the cpplang Slack!

The example implementation in https://eel.is/c++draft/string.view.comparison#example-1
was necessary when it was written, in C++17, but in C++20 we don't need that
complexity anymore, because of the reversed candidates that are
synthesized by the compiler.
2023-09-18 10:30:44 -04:00
..
__algorithm [libc++][ranges] Implement P2443R1: views::chunk_by 2023-09-05 16:19:49 -07: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 [libc++][test] Add '-Wdeprecated-copy', '-Wdeprecated-copy-dtor' warnings to the test suite 2023-09-12 08:53:38 -04: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++] Implement LWG3545: std::pointer_traits should be SFINAE-friendly. (#65177) 2023-09-18 08:46:59 -04: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] Add a GCD backend 2023-07-12 13:27:33 -07:00
__random [libc++][NFC] Refactor enable_ifs in defaulted arguments to defaulted template arguments 2023-08-18 13:08:18 -07:00
__ranges [libc++][ranges] Implement P2443R1: views::chunk_by 2023-09-05 16:19:49 -07:00
__stop_token [libc++] implement std::jthread 2023-09-16 19:54:19 +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 [libc++][NFC] Update the remaining enable_ifs 2023-09-01 17:51:17 -07:00
__utility [libc++][NFC] Update the remaining enable_ifs 2023-09-01 17:51:17 -07: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> Fix CI errors on 32-bits x86 2023-09-13 17:12:53 +08:00
ext [libc++] Add hide_from_abi check for classes 2023-04-16 15:23:23 +02:00
__assert [libc++][hardening] Deprecate _LIBCPP_ENABLE_ASSERTIONS. 2023-07-14 16:58:47 -07:00
__availability [libc++][chrono] Adds tzdb_list implementation. 2023-09-06 20:48:07 +02:00
__bit_reference [libc++] Optimize ranges::find for vector<bool> 2023-08-01 10:28:25 -07:00
__config [libc++][hardening] Add back the safe mode. 2023-09-12 12:01:51 -07:00
__config_site.in [libc++][hardening] Add back the safe mode. 2023-09-12 12:01:51 -07:00
__hash_table [libc++][NFC] Refactor __enable_if return types to defaulted template parameters 2023-09-01 17:52:31 -07: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 [libc++][hardening] Categorize more assertions. 2023-07-24 14:57:01 -07: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++] Remove unused include in __threading_support 2023-09-06 09:39:39 -04:00
__tree [libc++][NFC] Refactor __enable_if return types to defaulted template parameters 2023-09-01 17:52:31 -07: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++][PSTL] Implement std::sort 2023-07-20 14:45:36 -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++] Adds string_view constructor overload 2023-08-25 17:56:27 +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
ciso646
climits
clocale
CMakeLists.txt [libc++] implement std::jthread 2023-09-16 19:54:19 +01: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++] Merge _LIBCPP_FUNC_VIS, _LIBCPP_TYPE_VIS and _LIBCPP_EXCEPTION_ABI into _LIBCPP_EXPORTED_FROM_ABI 2023-06-15 08:56:45 -07: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 [libc++] Refactor node creation and destruction in list and forward_list (#65614) 2023-09-15 10:10:26 -04:00
fstream [libc++] Move once_flag outside of <mutex> 2023-08-31 14:56:42 -04:00
functional [libc++] Remove the legacy debug mode. 2023-06-29 14:49:51 -07:00
future [libc++][hardening][NFC] Introduce _LIBCPP_ASSERT_UNCATEGORIZED. 2023-06-28 15:10:31 -07: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++] Remove the legacy debug mode. 2023-06-29 14:49:51 -07: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 Revert "[libc++] Remove the type_traits includes from limits and new" 2023-07-07 17:53:09 -07:00
limits.h [libc++] Don't workaround GCC issue on non-GCC compilers 2022-11-21 16:08:50 -05:00
list [libc++] Refactor node creation and destruction in list and forward_list (#65614) 2023-09-15 10:10:26 -04: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++] Granulaize math.h and move the functions to std::__math 2023-07-31 17:19:39 -07: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++] implement std::jthread 2023-09-16 19:54:19 +01: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++] Work around dynamic linking of stringstream::str() on Windows 2023-08-10 20:47:11 +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 [libc++][hardening] Categorize most assertions inside the container classes. 2023-07-20 10:14:43 -07: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 Revert "[libc++][NFC] Remove __has_keyword" 2023-09-07 14:48:45 -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 [libc++][hardening] Categorize most assertions inside the container classes. 2023-07-20 10:14:43 -07:00
unordered_set [libc++][hardening] Categorize most assertions inside the container classes. 2023-07-20 10:14:43 -07: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++][NFC] Refactor enable_ifs in defaulted arguments to defaulted template arguments 2023-08-18 13:08:18 -07:00
version [libc++][ranges] Implement P2443R1: views::chunk_by 2023-09-05 16:19:49 -07:00
wchar.h [runtimes][NFC] Remove stray whitespace on extern C comments 2023-08-11 13:25:01 -04:00
wctype.h