llvm-capstone/libcxx/include
Nikolas Klauser 660b243120 [libc++] Add [[nodiscard]] extensions to ranges algorithms
This mirrors what we have done in the classic algorithms

Reviewed By: ldionne, #libc

Spies: libcxx-commits

Differential Revision: https://reviews.llvm.org/D137186
2022-11-05 16:38:46 +01:00
..
__algorithm [libc++] Add [[nodiscard]] extensions to ranges algorithms 2022-11-05 16:38:46 +01:00
__bit [libc++][NFC] Use concepts in <bit>. 2022-06-13 18:17:48 +02:00
__charconv [libc++] Implements constexpr <charconv>. 2022-10-12 17:43:23 +02:00
__chrono [libc++][chrono] Fixes build. 2022-10-18 20:57:54 +02:00
__compare [libc++] Granularize the rest of type_traits 2022-08-14 10:30:48 +02:00
__concepts [libc++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +02:00
__coroutine [libc++] Remove _LIBCPP_HAS_NO_CXX20_COROUTINES 2022-10-12 10:42:06 -04:00
__debug_utils [libc++][NFC] Rename the constexpr macros 2022-08-19 15:35:02 +02:00
__filesystem [libc++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +02:00
__format [libc++] Improves modular build. 2022-11-01 20:24:33 +01:00
__functional [libc++] Remove std::function in C++03 2022-10-19 11:08:35 +02:00
__fwd [libc++] Move preferred_name declarations into the forward declaring headers and add pmr preferred names 2022-11-01 00:36:54 +01:00
__ios [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00
__iterator [libc++] Replace some _LIBCPP_HIDDEN with _LIBCPP_HIDE_FROM_ABI 2022-10-12 16:45:58 -04:00
__memory [libc++] Improve error message for invalid allocators 2022-10-16 00:37:35 +02:00
__memory_resource [libc++][PMR] Move the pmr::memory_resource destructor into the dylib 2022-11-01 00:37:04 +01:00
__numeric [libc++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +02:00
__random [libc++][NFC] Prefer type aliases over structs 2022-10-01 22:49:36 +02:00
__ranges [libc++] Improves modular build. 2022-11-01 20:24:33 +01:00
__string [libc++] Avoid including <tuple> in compressed_pair.h 2022-09-18 10:49:35 +02:00
__support [libc++] newlib/xlocale.h: remove redundant includes 2022-10-31 07:40:37 +00:00
__thread [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00
__tuple [libc++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +02:00
__type_traits [libc++][NFC] Add documentation for _Or and _And 2022-10-21 12:25:29 -04:00
__utility [libc++] Suppress -Wctad-maybe-unsupported on types w/o deduction guides 2022-10-03 14:05:08 -04:00
__variant [libc++][spaceship] Implement std::variant::operator<=> 2022-08-14 16:16:52 -07:00
experimental [libc++][PMR] Deprecate the implementation in std::experimental 2022-11-01 00:37:08 +01:00
ext [libc++] static_assert that rebinding the allocator works as expected 2022-10-11 16:47:42 +02:00
__assert [libc++] Rename __libcpp_assertion_handler to __libcpp_verbose_abort 2022-07-29 13:52:42 -04:00
__availability [libc++] Allow enabling assertions when back-deploying 2022-08-08 08:43:34 -04:00
__bit_reference [libc++][NFC] Prefer type aliases over structs 2022-10-01 22:49:36 +02:00
__bits [libc++] Remove MSVC code 2022-09-20 10:11:42 +02:00
__bsd_locale_defaults.h [libc++][NFC] Fix include guards and add a missing license header 2022-03-23 13:14:19 -04:00
__bsd_locale_fallbacks.h [libc++] Granularize the rest of memory 2022-09-05 12:36:41 +02:00
__config [libc++][format] Improves CTAD. 2022-10-12 17:42:50 +02:00
__config_site.in [libc++] Treat incomplete features just like other experimental features 2022-07-19 10:50:20 -04:00
__debug [libc++][NFC] Enable modernize-use-override 2022-08-25 20:55:08 +02:00
__errc [libc++] Normalize all our '#pragma GCC system_header', and regression-test. 2022-02-04 12:27:19 -05:00
__hash_table [libc++] static_assert that rebinding the allocator works as expected 2022-10-11 16:47:42 +02:00
__locale [libc++] Granularize the rest of memory 2022-09-05 12:36:41 +02:00
__mbstate_t.h [libc++] Normalize all our '#pragma GCC system_header', and regression-test. 2022-02-04 12:27:19 -05:00
__mutex_base [libc++] Suppress -Wctad-maybe-unsupported on types w/o deduction guides 2022-10-03 14:05:08 -04:00
__node_handle [libc++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +02:00
__split_buffer [libc++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +02:00
__std_stream [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00
__threading_support [libc++] Granularize the rest of type_traits 2022-08-14 10:30:48 +02:00
__tree [libc++] static_assert that rebinding the allocator works as expected 2022-10-11 16:47:42 +02:00
__undef_macros [libc++] Assume that push_macro and pop_macro are available 2022-05-23 20:47:44 +02:00
__verbose_abort [libc++][NFC] Fix typo in comment 2022-10-12 16:06:21 -04:00
algorithm Revert "[libc++][ranges]Refactor copy{,_backward} and move{,_backward}" 2022-10-02 16:23:35 -07:00
any [libc++] Rewrites graph_header_deps.py. 2022-09-25 15:06:21 +02:00
array [libc++][NFC] Prefer type aliases over structs 2022-10-01 22:49:36 +02:00
atomic [libc++][NFC] Prefer type aliases over structs 2022-10-01 22:49:36 +02:00
barrier [NFC][libc++] Moves transitive includes location. 2022-10-12 20:35:09 +02:00
bit [libc++] Remove MSVC code 2022-09-20 10:11:42 +02:00
bitset [libc++][NFC] Fix some standard-mandated includes comments 2022-09-27 21:11:53 +02:00
cassert [libc++] Ensure that all public C++ headers include <__assert> 2022-03-30 15:05:31 -04:00
ccomplex [libc++] Ensure that all public C++ headers include <__assert> 2022-03-30 15:05:31 -04:00
cctype [libc++] Diagnose when header search paths are set up incorrectly 2022-08-17 14:05:26 -04:00
cerrno [libc++] Diagnose when header search paths are set up incorrectly 2022-08-17 14:05:26 -04:00
cfenv [libc++] Diagnose when header search paths are set up incorrectly 2022-08-17 14:05:26 -04:00
cfloat [libc++] Diagnose when header search paths are set up incorrectly 2022-08-17 14:05:26 -04:00
charconv [libc++] Implements constexpr <charconv>. 2022-10-12 17:43:23 +02:00
chrono [libc++][chrono] Implements formatter weekday. 2022-10-18 20:40:06 +02:00
cinttypes [libc++][NFC] Fix some standard-mandated includes comments 2022-09-27 21:11:53 +02:00
ciso646 [libc++] Ensure that all public C++ headers include <__assert> 2022-03-30 15:05:31 -04:00
climits [libc++] Diagnose when header search paths are set up incorrectly 2022-08-17 14:05:26 -04:00
clocale [libc++] Diagnose when header search paths are set up incorrectly 2022-08-17 14:05:26 -04:00
CMakeLists.txt [libc++] Move preferred_name declarations into the forward declaring headers and add pmr preferred names 2022-11-01 00:36:54 +01:00
cmath [libc++] Diagnose when header search paths are set up incorrectly 2022-08-17 14:05:26 -04:00
codecvt [libc++] Make the naming of private member variables consistent and enforce it through readability-identifier-naming 2022-09-02 21:36:36 +02:00
compare [libc++] Ensure that all public C++ headers include <__assert> 2022-03-30 15:05:31 -04:00
complex [libc++][NFC] Rename the constexpr macros 2022-08-19 15:35:02 +02:00
complex.h [libc++] Normalize all our '#pragma GCC system_header', and regression-test. 2022-02-04 12:27:19 -05:00
concepts [libc++] Ensure that all public C++ headers include <__assert> 2022-03-30 15:05:31 -04:00
condition_variable [libc++] Granularize the rest of memory 2022-09-05 12:36:41 +02:00
coroutine [libc++][NFC] Fix some standard-mandated includes comments 2022-09-27 21:11:53 +02:00
csetjmp [libc++] Diagnose when header search paths are set up incorrectly 2022-08-17 14:05:26 -04:00
csignal [libc++] Fix modules builds when features are removed 2022-06-08 18:48:25 -04:00
cstdarg [libc++] Ensure that all public C++ headers include <__assert> 2022-03-30 15:05:31 -04:00
cstdbool [libc++] Ensure that all public C++ headers include <__assert> 2022-03-30 15:05:31 -04:00
cstddef [libc++] Diagnose when header search paths are set up incorrectly 2022-08-17 14:05:26 -04:00
cstdint [libc++] Diagnose when header search paths are set up incorrectly 2022-08-17 14:05:26 -04:00
cstdio [libc++] Diagnose when header search paths are set up incorrectly 2022-08-17 14:05:26 -04:00
cstdlib [libc++] Diagnose when header search paths are set up incorrectly 2022-08-17 14:05:26 -04:00
cstring [libc++] Diagnose when header search paths are set up incorrectly 2022-08-17 14:05:26 -04:00
ctgmath [libc++] Ensure that all public C++ headers include <__assert> 2022-03-30 15:05:31 -04:00
ctime [libc++] Ensure that all public C++ headers include <__assert> 2022-03-30 15:05:31 -04:00
ctype.h [libc++] Normalize all our '#pragma GCC system_header', and regression-test. 2022-02-04 12:27:19 -05:00
cuchar [libc++][cuchar] Declare std::c8rtomb and std::mbrtoc8 in <cuchar> if available. 2022-09-10 21:10:33 -04:00
cwchar [libc++] Diagnose when header search paths are set up incorrectly 2022-08-17 14:05:26 -04:00
cwctype [libc++] Diagnose when header search paths are set up incorrectly 2022-08-17 14:05:26 -04:00
deque [libc++] static_assert that rebinding the allocator works as expected 2022-10-11 16:47:42 +02:00
errno.h [libc++] Normalize all our '#pragma GCC system_header', and regression-test. 2022-02-04 12:27:19 -05:00
exception [libc++] Make the naming of private member variables consistent and enforce it through readability-identifier-naming 2022-09-02 21:36:36 +02:00
execution [libc++] Ensure that all public C++ headers include <__assert> 2022-03-30 15:05:31 -04:00
fenv.h [libc++] Normalize all our '#pragma GCC system_header', and regression-test. 2022-02-04 12:27:19 -05:00
filesystem [libc++][NFC] Fix some standard-mandated includes comments 2022-09-27 21:11:53 +02:00
float.h [libc++] Normalize all our '#pragma GCC system_header', and regression-test. 2022-02-04 12:27:19 -05:00
format [libc++][format] Granularizes the format header. 2022-09-20 18:57:10 +02:00
forward_list [libc++] static_assert that rebinding the allocator works as expected 2022-10-11 16:47:42 +02:00
fstream [libc++] Granularize the rest of memory 2022-09-05 12:36:41 +02:00
functional [libc++] Avoid including <tuple> in compressed_pair.h 2022-09-18 10:49:35 +02:00
future [libc++] Rewrites graph_header_deps.py. 2022-09-25 15:06:21 +02:00
initializer_list [libc++][NFC] Rename the constexpr macros 2022-08-19 15:35:02 +02:00
inttypes.h [libc++] Normalize all our '#pragma GCC system_header', and regression-test. 2022-02-04 12:27:19 -05:00
iomanip [libc++] Add a bunch of missing _LIBCPP_HIDE_FROM_ABI 2022-08-13 22:41:22 +02:00
ios [libc++][NFC] Fix some standard-mandated includes comments 2022-09-27 21:11:53 +02:00
iosfwd [libc++] Move preferred_name declarations into the forward declaring headers and add pmr preferred names 2022-11-01 00:36:54 +01:00
iostream [libc++][NFC] Fix some standard-mandated includes comments 2022-09-27 21:11:53 +02:00
istream [libc++][NFC] Enable modernize-use-override 2022-08-25 20:55:08 +02:00
iterator [libc++][NFC] Fix some standard-mandated includes comments 2022-09-27 21:11:53 +02:00
latch [libc++] Make the naming of private member variables consistent and enforce it through readability-identifier-naming 2022-09-02 21:36:36 +02:00
limits [libc++] Remove MSVC code 2022-09-20 10:11:42 +02:00
limits.h [libc++] Normalize all our '#pragma GCC system_header', and regression-test. 2022-02-04 12:27:19 -05:00
list [libc++] static_assert that rebinding the allocator works as expected 2022-10-11 16:47:42 +02:00
locale [SystemZ][z/OS][libcxx]: fix the mask in stage2_float_loop function 2022-10-18 15:56:18 -04:00
locale.h [libc++] Improve error messages for disabled modes 2022-05-20 09:36:55 -04:00
map [libc++] static_assert that rebinding the allocator works as expected 2022-10-11 16:47:42 +02:00
math.h [libc++][math.h] Remove unnecessary uses of __promote 2022-10-28 01:05:47 +02:00
memory [libc++] Implement P0591R4 (Utility functions to implement uses-allocator construction) 2022-10-06 16:58:51 +02:00
memory_resource [libc++] Add the C++17 <memory_resource> header (mono-patch) 2022-10-11 08:40:46 -04:00
module.modulemap.in [libc++] Improves modular build. 2022-11-01 20:24:33 +01:00
mutex [libc++] Suppress -Wctad-maybe-unsupported on types w/o deduction guides 2022-10-03 14:05:08 -04:00
new [libc++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +02:00
numbers [libc++] Ensure that all public C++ headers include <__assert> 2022-03-30 15:05:31 -04:00
numeric [NFC][libc++] Moves transitive includes location. 2022-09-03 10:06:16 +02:00
optional [libc++][NFC] Fix some standard-mandated includes comments 2022-09-27 21:11:53 +02:00
ostream [libc++][NFC] Prefer type aliases over structs 2022-10-01 22:49:36 +02:00
queue [libc++][NFC] Fix some standard-mandated includes comments 2022-09-27 21:11:53 +02:00
random [libc++][NFC] Fix some standard-mandated includes comments 2022-09-27 21:11:53 +02:00
ranges [libc++][ranges] implement std::ranges::drop_while_view 2022-10-18 19:34:47 +01:00
ratio Revert "[libcxx] Resolve warnings for Wshift-sign-overflow" 2022-08-17 10:37:24 -07:00
regex [libc++] Move preferred_name declarations into the forward declaring headers and add pmr preferred names 2022-11-01 00:36:54 +01:00
scoped_allocator [NFC][libc++] Moves transitive includes location. 2022-10-12 20:35:09 +02:00
semaphore [libc++] Make the naming of private member variables consistent and enforce it through readability-identifier-naming 2022-09-02 21:36:36 +02:00
set [libc++] static_assert that rebinding the allocator works as expected 2022-10-11 16:47:42 +02:00
setjmp.h [libc++] Normalize all our '#pragma GCC system_header', and regression-test. 2022-02-04 12:27:19 -05:00
shared_mutex [libc++] Suppress -Wctad-maybe-unsupported on types w/o deduction guides 2022-10-03 14:05:08 -04:00
span [NFC][libc++] Moves transitive includes location. 2022-09-03 10:06:16 +02:00
sstream [libc++] <sstream>: update references to standard paragraphs 2022-10-13 07:23:22 -04:00
stack [libc++][NFC] Fix some standard-mandated includes comments 2022-09-27 21:11:53 +02:00
stdatomic.h [libcxx] Make stdatomic.h work when included from a C source file 2022-09-27 13:13:11 -04:00
stdbool.h [libc++] Ensure that all public C++ headers include <__assert> 2022-03-30 15:05:31 -04:00
stddef.h [libc++] Remove the ability to use the std::nullptr_t emulation in C++03 mode 2022-02-07 17:51:05 -05:00
stdexcept [libc++][NFC] Enable modernize-use-override 2022-08-25 20:55:08 +02:00
stdint.h [libc++] Normalize all our '#pragma GCC system_header', and regression-test. 2022-02-04 12:27:19 -05:00
stdio.h [libc++] Normalize all our '#pragma GCC system_header', and regression-test. 2022-02-04 12:27:19 -05:00
stdlib.h [libc++] Normalize all our '#pragma GCC system_header', and regression-test. 2022-02-04 12:27:19 -05:00
streambuf [libc++] Towards a simpler extern template story in libc++ 2022-06-08 22:05:07 -04:00
string [libc++] inline more functions into basic_string 2022-11-04 16:18:02 +01:00
string_view [libc++] Move preferred_name declarations into the forward declaring headers and add pmr preferred names 2022-11-01 00:36:54 +01:00
string.h [libc++] Normalize all our '#pragma GCC system_header', and regression-test. 2022-02-04 12:27:19 -05:00
strstream [libc++][NFC] Enable modernize-use-override 2022-08-25 20:55:08 +02:00
system_error [libc++] Fix ADL for make_error_{code,condition} 2022-09-30 17:23:45 -04:00
tgmath.h [libc++] Normalize all our '#pragma GCC system_header', and regression-test. 2022-02-04 12:27:19 -05:00
thread [libc++][NFC] Fix some standard-mandated includes comments 2022-09-27 21:11:53 +02:00
tuple [libc++][NFC] Fix some standard-mandated includes comments 2022-09-27 21:11:53 +02:00
type_traits [libc++] Granularize the rest of type_traits 2022-08-14 10:30:48 +02:00
typeindex [NFC][libc++] Moves transitive includes location. 2022-09-03 10:06:16 +02:00
typeinfo [libc++] Include skipped headers in the --trace-includes output 2022-09-29 15:07:10 -04:00
uchar.h [libc++][cuchar] Declare std::c8rtomb and std::mbrtoc8 in <cuchar> if available. 2022-09-10 21:10:33 -04:00
unordered_map [libc++] static_assert that rebinding the allocator works as expected 2022-10-11 16:47:42 +02:00
unordered_set [libc++] static_assert that rebinding the allocator works as expected 2022-10-11 16:47:42 +02:00
utility [libc++] implement "pair" section of P2321R2 zip 2022-09-28 11:24:54 +01:00
valarray Revert "[libc++][ranges]Refactor copy{,_backward} and move{,_backward}" 2022-10-02 16:23:35 -07:00
variant [libc++] Fix missing requires clause on variant operator<=> 2022-10-17 16:23:02 -06:00
vector [libc++] static_assert that rebinding the allocator works as expected 2022-10-11 16:47:42 +02:00
version [libc++] Implements constexpr <charconv>. 2022-10-12 17:43:23 +02:00
wchar.h [libc++] Make parameter names consistent and enforce the naming style using readability-identifier-naming 2022-07-08 18:17:47 +02:00
wctype.h [libc++] Normalize all our '#pragma GCC system_header', and regression-test. 2022-02-04 12:27:19 -05:00