llvm-project/libcxx/include
Hristo Hristov 83542e4764 [libc++][spaceship] Implement operator<=> for duration
Implements parts of [[ https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1614r2.html | P1614R2 ]]
Implemented `operator<=>` for `std::chrono::duration`

Reviewed By: #libc, Mordante

Differential Revision: https://reviews.llvm.org/D145881
2023-03-21 20:06:42 +02:00
..
__algorithm [libc++] Change linkage for some functions. 2023-03-19 19:50:05 +01:00
__atomic [libc++] Run clang-tidy in all configurations that are run in the Docker container 2023-02-28 19:14:58 +01:00
__bit [libc++][NFC] Replace _LIBCPP_STD_VER > x with _LIBCPP_STD_VER >= x 2023-02-15 16:52:25 +01:00
__charconv [NFC][libc++] Formats granularized charconv. 2023-03-16 18:56:30 +01:00
__chrono [libc++][spaceship] Implement operator<=> for duration 2023-03-21 20:06:42 +02:00
__compare [libc++] Remove _LIBCPP_CONSTEVAL 2023-03-10 09:04:48 -05:00
__concepts [libc++][NFC] Replace _LIBCPP_STD_VER > x with _LIBCPP_STD_VER >= x 2023-02-15 16:52:25 +01:00
__coroutine [libc++][NFC] Replace _LIBCPP_STD_VER > x with _LIBCPP_STD_VER >= x 2023-02-15 16:52:25 +01:00
__debug_utils
__exception [libc++] Add missing include in exception_ptr.h 2023-03-13 15:22:38 +01:00
__expected [libc++] Granularize <exception> includes 2023-03-19 10:28:32 +01:00
__filesystem [libc++] Use the _LIBCPP_VERBOSE_ABORT macro instead of calling the function directly 2023-03-18 00:34:28 +01:00
__format [libc++] Granularize <exception> includes 2023-03-19 10:28:32 +01:00
__functional [libc++] Granularize <exception> includes 2023-03-19 10:28:32 +01:00
__fwd [libc++][NFC] Replace _LIBCPP_STD_VER > x with _LIBCPP_STD_VER >= x 2023-02-15 16:52:25 +01:00
__ios
__iterator [libc++] Granularize <exception> 2023-03-12 22:19:41 +01:00
__memory [libc++] Remove C++03 extensions for std::allocator_arg & friends 2023-03-19 10:14:32 -04:00
__memory_resource [libc++][NFC] Replace _LIBCPP_STD_VER > x with _LIBCPP_STD_VER >= x 2023-02-15 16:52:25 +01:00
__numeric [libc++][NFC] Replace _LIBCPP_STD_VER > x with _LIBCPP_STD_VER >= x 2023-02-15 16:52:25 +01:00
__random [libc++] Granularize <type_traits> includes 2023-03-08 22:05:04 +01:00
__ranges [libc++] Granularize <exception> includes 2023-03-19 10:28:32 +01:00
__string [libc++] Forward to std::memcmp for trivially comparable types in equal 2023-02-21 17:11:21 +01:00
__support libcxx: Don't apply ABI tags to extern "C" fns 2023-01-25 07:35:33 +00:00
__thread
__tuple_dir [libc++][NFC] Replace _LIBCPP_STD_VER > x with _LIBCPP_STD_VER >= x 2023-02-15 16:52:25 +01:00
__type_traits [libc++] Optimize std::ranges::{min, max} for types that are cheap to copy 2023-03-11 16:28:24 +01:00
__utility [libc++] Remove C++03 extensions for std::allocator_arg & friends 2023-03-19 10:14:32 -04:00
__variant [libc++][NFC] Replace _LIBCPP_STD_VER > x with _LIBCPP_STD_VER >= x 2023-02-15 16:52:25 +01:00
experimental [libc++] Remove C++03 extensions for std::allocator_arg & friends 2023-03-19 10:14:32 -04:00
ext [libc++] Granularize <type_traits> includes 2023-03-08 22:05:04 +01:00
__assert [libc++] Remove #error about _LIBCPP_DEBUG 2023-02-07 07:42:33 -08:00
__availability [libc++][Apple] Update availability markup for std::to_chars(floating-point) 2023-03-19 10:24:38 -04:00
__bit_reference [libc++] Granularize <type_traits> includes 2023-03-08 22:05:04 +01:00
__bsd_locale_defaults.h
__bsd_locale_fallbacks.h
__config [libc++] Remove _LIBCPP_CONSTEVAL 2023-03-10 09:04:48 -05:00
__config_site.in
__debug [libc++] Run clang-tidy in all configurations that are run in the Docker container 2023-02-28 19:14:58 +01:00
__errc
__hash_table [libc++] Granularize <type_traits> includes 2023-03-08 22:05:04 +01:00
__locale
__mbstate_t.h
__mutex_base [libc++] Remove C++03 extensions for std::allocator_arg & friends 2023-03-19 10:14:32 -04:00
__node_handle [libc++][NFC] Replace _LIBCPP_STD_VER > x with _LIBCPP_STD_VER >= x 2023-02-15 16:52:25 +01:00
__split_buffer [libc++] Granularize <type_traits> includes 2023-03-08 22:05:04 +01:00
__std_stream
__threading_support [libc++] Enable radability-identifier-naming for local variables and fix any problems 2023-02-11 20:03:53 +01:00
__tree [libc++] Granularize <exception> 2023-03-12 22:19:41 +01:00
__undef_macros
__verbose_abort [libc++] Use the _LIBCPP_VERBOSE_ABORT macro instead of calling the function directly 2023-03-18 00:34:28 +01:00
algorithm [libc++] Improves clang-format settings. 2023-02-27 19:24:06 +01:00
any [libc++] Use the _LIBCPP_VERBOSE_ABORT macro instead of calling the function directly 2023-03-18 00:34:28 +01:00
array [libc++] Granularize <type_traits> includes 2023-03-08 22:05:04 +01:00
atomic [libc++] Granularize <atomic> includes 2023-03-10 13:28:29 +01:00
barrier [libc++] Granularize <atomic> includes 2023-03-10 13:28:29 +01:00
bit
bitset [libc++] Granularize <type_traits> includes 2023-03-08 22:05:04 +01:00
cassert
ccomplex
cctype
cerrno
cfenv
cfloat
charconv [libc++][charconv] Granularizes the header. 2023-03-15 18:01:53 +01:00
chrono [libc++][spaceship] Implement operator<=> for duration 2023-03-21 20:06:42 +02:00
cinttypes
ciso646
climits
clocale
CMakeLists.txt [libc++][charconv] Granularizes the header. 2023-03-15 18:01:53 +01:00
cmath [libc++][NFC] Replace _LIBCPP_STD_VER > x with _LIBCPP_STD_VER >= x 2023-02-15 16:52:25 +01:00
codecvt
compare
complex [libc++] Granularize <type_traits> includes 2023-03-08 22:05:04 +01:00
complex.h
concepts
condition_variable [libc++] Remove C++03 extensions for std::allocator_arg & friends 2023-03-19 10:14:32 -04:00
coroutine [libc++] Granularize <type_traits> includes in <bit>, <numbers> and <coroutine> 2023-01-21 15:09:21 +01:00
csetjmp
csignal
cstdarg
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++][NFC] Replace _LIBCPP_STD_VER > x with _LIBCPP_STD_VER >= x 2023-02-15 16:52:25 +01: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
cuchar
cwchar
cwctype
deque [libc++] Granularize <exception> 2023-03-12 22:19:41 +01:00
errno.h
exception [libc++] Granularize <exception> 2023-03-12 22:19:41 +01:00
execution
expected
fenv.h
filesystem [libc++] Implement LWG3657 std::hash<filesystem::path> 2023-02-07 22:06:17 -08:00
float.h
format
forward_list [libc++] Granularize <type_traits> includes 2023-03-08 22:05:04 +01:00
fstream [libc++] Move constexpr <cstring> functions into their own headers and remove unused <cstring> includes 2023-02-21 16:56:29 +01:00
functional [libc++] Granularize <exception> includes 2023-03-19 10:28:32 +01:00
future [libc++] Remove C++03 extensions for std::allocator_arg & friends 2023-03-19 10:14:32 -04:00
initializer_list
inttypes.h
iomanip [libc++] Add clang-tidy check for version checks 2023-03-08 15:17:25 +01:00
ios [libc++] Use the _LIBCPP_VERBOSE_ABORT macro instead of calling the function directly 2023-03-18 00:34:28 +01:00
iosfwd
iostream
istream [libc++] Granularize <exception> 2023-03-12 22:19:41 +01:00
iterator [libc++] implement move_iterator<T*> should be a random access iterator \n Differntial Revision- https://reviews.llvm.org/D135248 2023-03-01 23:47:00 +05:30
latch [libc++] Granularize <atomic> includes 2023-03-10 13:28:29 +01:00
libcxx.imp [libc++] Granularize <exception> 2023-03-12 22:19:41 +01:00
limits
limits.h
list [libc++] Granularize <type_traits> includes 2023-03-08 22:05:04 +01:00
locale [libc++] Granularize <type_traits> includes 2023-03-08 22:05:04 +01:00
locale.h
map [libc++] Granularize <exception> includes 2023-03-19 10:28:32 +01:00
math.h
memory [libc++] Granularize <atomic> includes 2023-03-10 13:28:29 +01:00
memory_resource
module.modulemap.in [libc++][charconv] Granularizes the header. 2023-03-15 18:01:53 +01:00
mutex [libc++] Remove C++03 extensions for std::allocator_arg & friends 2023-03-19 10:14:32 -04:00
new [libc++] Granularize <exception> includes 2023-03-19 10:28:32 +01:00
numbers [libc++][NFC] Replace _LIBCPP_STD_VER > x with _LIBCPP_STD_VER >= x 2023-02-15 16:52:25 +01:00
numeric [libc++] Granularize <type_traits> includes in <bit>, <numbers> and <coroutine> 2023-01-21 15:09:21 +01:00
optional [libc++] Use the _LIBCPP_VERBOSE_ABORT macro instead of calling the function directly 2023-03-18 00:34:28 +01:00
ostream [libc++] Granularize <exception> includes 2023-03-19 10:28:32 +01:00
queue [libc++] Granularize <type_traits> includes 2023-03-08 22:05:04 +01:00
random
ranges [libc++] Granularize <type_traits> includes 2023-03-08 22:05:04 +01:00
ratio [libc++][NFC] Replace _LIBCPP_STD_VER > x with _LIBCPP_STD_VER >= x 2023-02-15 16:52:25 +01:00
regex [libc++] Use the _LIBCPP_VERBOSE_ABORT macro instead of calling the function directly 2023-03-18 00:34:28 +01:00
scoped_allocator [libc++][NFC] Replace _LIBCPP_STD_VER > x with _LIBCPP_STD_VER >= x 2023-02-15 16:52:25 +01:00
semaphore [libc++] Granularize <atomic> includes 2023-03-10 13:28:29 +01:00
set [libc++] Granularize <type_traits> includes 2023-03-08 22:05:04 +01:00
setjmp.h
shared_mutex [libc++][NFC] Replace _LIBCPP_STD_VER > x with _LIBCPP_STD_VER >= x 2023-02-15 16:52:25 +01:00
source_location
span [libc++] Granularize <exception> 2023-03-12 22:19:41 +01:00
sstream [libc++][NFC] Rename _LIBCPP_NO_EXCEPTIONS to _LIBCPP_HAS_NO_EXCEPTIONS 2023-02-17 17:39:03 +01:00
stack [libc++] Granularize <type_traits> includes 2023-03-08 22:05:04 +01: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
stddef.h
stdexcept [libc++] Granularize <exception> includes 2023-03-19 10:28:32 +01:00
stdint.h
stdio.h
stdlib.h
streambuf
string [libc++] Inline small constructors into basic_string 2023-03-19 17:53:22 +01:00
string_view [libc++] Assert that lengths fit in difference_type 2023-03-19 18:42:22 +01:00
string.h
strstream
system_error [libc++] Granularize <type_traits> includes 2023-03-08 22:05:04 +01:00
tgmath.h
thread [libc++] Granularize <exception> includes 2023-03-19 10:28:32 +01:00
tuple [libc++][NFC] Replace _LIBCPP_STD_VER > x with _LIBCPP_STD_VER >= x 2023-02-15 16:52:25 +01:00
type_traits [libc++] Implement P1413R3 (Deprecate std::aligned_storage and std::aligned_union) 2023-01-21 15:08:27 +01:00
typeindex [libc++][NFC] Replace _LIBCPP_STD_VER > x with _LIBCPP_STD_VER >= x 2023-02-15 16:52:25 +01:00
typeinfo [libc++] Granularize <exception> includes 2023-03-19 10:28:32 +01:00
uchar.h
unordered_map [libc++] Granularize <type_traits> includes 2023-03-08 22:05:04 +01:00
unordered_set [libc++] Granularize <type_traits> includes 2023-03-08 22:05:04 +01:00
utility [libc++][ranges] Implement LWG-3865 Sorting a range of pairs 2023-03-10 09:01:52 +07:00
valarray [libc++] Granularize <exception> 2023-03-12 22:19:41 +01:00
variant [libc++] Granularize <exception> includes 2023-03-19 10:28:32 +01:00
vector [libc++] Granularize <exception> 2023-03-12 22:19:41 +01:00
version [libc++] implement move_iterator<T*> should be a random access iterator \n Differntial Revision- https://reviews.llvm.org/D135248 2023-03-01 23:47:00 +05:30
wchar.h
wctype.h