llvm-capstone/libcxx/include
Louis Dionne 48e4b0fd3a [runtimes] Revert the libc++ __config_site change
This is a massive revert of the following commits (from most revent to oldest):

	2b9b7b5775.
	529ac33197
	28270234f1
	69c2087283
	b5aa67446e
	5d796645d6

After checking-in the __config_site change, a lot of things started breaking
due to widespread reliance on various aspects of libc++'s build, notably the
fact that we can include the headers from the source tree, but also reliance
on various "internal" CMake variables used by the runtimes build and compiler-rt.

These were unintended consequences of the change, and after two days, we
still haven't restored all the bots to being green. Instead, now that I
understand what specific areas this will blow up in, I should be able to
chop up the patch into smaller ones that are easier to digest.

See https://reviews.llvm.org/D89041 for more details on this adventure.
2020-10-23 09:41:48 -04:00
..
experimental [NFC] Strip trailing whitespace from libc++ 2019-10-23 11:19:19 -07:00
ext [libc++] Remove workarounds for missing rvalue references 2020-08-12 12:02:28 -04:00
support [libcxx] [Windows] Store the lconv struct returned from localeconv in locale_t 2020-01-29 22:37:11 +02:00
__bit_reference [libc++] Fix ABI break in __bit_reference. 2020-02-19 12:02:06 -05:00
__bsd_locale_defaults.h Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
__bsd_locale_fallbacks.h Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
__config [runtimes] Revert the libc++ __config_site change 2020-10-23 09:41:48 -04:00
__config_site.in [libc++] Allow building libc++ on platforms without a random device 2020-10-15 12:20:29 -04:00
__debug [libc++] NFCI: Remove the _LIBCPP_DEBUG_MODE helper macro 2020-10-02 15:11:23 -04:00
__errc Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
__functional_03 [libc++] Properly mark std::function as deprecated in C++03 2020-03-10 17:45:39 -04:00
__functional_base [libc++] Fix unintended ADL inside ref(reference_wrapper<T>) and cref(reference_wrapper<T>) 2020-02-20 12:22:21 -05:00
__functional_base_03 Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
__hash_table [libc++] Remove some workarounds for C++03 2020-10-09 12:35:13 -04:00
__libcpp_version Bump the trunk major version to 12 2020-07-15 12:05:05 +02:00
__locale [libc++] NFCI: Remove _LIBCPP_EXTERN_TEMPLATE2 2020-10-02 14:31:43 -04:00
__mutex_base [libc++] Remove some workarounds for C++03 2020-10-09 12:35:13 -04:00
__node_handle Avoid name conflict with kernel headers 2019-04-24 09:43:44 +00:00
__nullptr Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
__split_buffer [libc++] Remove some workarounds for C++03 2020-10-09 12:35:13 -04:00
__sso_allocator [libc++] Replace uses of __libcpp_allocate by std::allocator<> 2020-09-28 16:09:42 -04:00
__std_stream Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
__string Add optimization to basic_string::assign for compile-time known constant values. 2020-06-29 14:34:34 -04:00
__threading_support [libc++][NFC] Define functor's call operator inline 2020-08-27 14:20:34 -04:00
__tree [libc++] Remove some workarounds for C++03 2020-10-09 12:35:13 -04:00
__tuple Refactor default constructor SFINAE in pair and tuple. 2019-09-30 20:55:30 +00:00
__undef_macros Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
algorithm [Take 2] [libc++] Make rotate a constexpr. 2020-09-14 18:14:46 -04:00
any [libc++] Fix failures when running the test suite without RTTI 2020-09-21 20:17:24 -04:00
array [libc++] Remove some workarounds for C++03 2020-10-09 12:35:13 -04:00
atomic Re-split integral & pointer overloads. Add tests. 2020-09-11 12:13:35 -07:00
barrier [libc++] Add availability markup for the C++20 Synchronization Library on Apple 2020-04-06 18:07:26 -04:00
bit [libc++] NFC: Remove outdated numbering in <bit> synopsis 2020-05-28 14:31:21 -04:00
bitset Ensure bitset's string constructor doesn't poison the overload set. 2019-07-01 19:59:34 +00:00
cassert Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
ccomplex Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
cctype Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
cerrno Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
cfenv Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
cfloat Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
charconv [libc++] Mark __u64toa and __u32toa as noexcept 2020-05-22 16:11:44 -04:00
chrono [libc++] Avoid UB in year_month_day_last::day() for incorrect months 2020-06-09 13:43:13 -04:00
cinttypes Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ciso646 Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
climits Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
clocale Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
CMakeLists.txt [runtimes] Revert the libc++ __config_site change 2020-10-23 09:41:48 -04:00
cmath [libc++] [LWG3201] Update status page: lerp should be marked noexcept. 2020-05-25 22:28:21 +02:00
codecvt Fix -Wdeprecated-copy-dtor and -Wdeprecated-dynamic-exception-spec warnings. 2020-03-17 18:59:54 +01:00
compare Fix test failures with trunk clang 2020-09-29 17:10:07 -07:00
complex [libc++] Add more tests for operator<< on std::complex 2020-10-19 13:23:59 -04:00
complex.h Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
concepts [libcxx] Adds [concept.same] 2020-04-08 18:00:13 -04:00
condition_variable Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
csetjmp Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
csignal Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
cstdarg Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
cstdbool Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
cstddef Avoid using std::max_align_t in pre-C++11 mode 2020-04-04 01:38:41 +02:00
cstdint Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
cstdio Reland: Don't expose unavailable cstdio functions. 2020-04-16 12:51:08 -07:00
cstdlib Fix _LIBCPP_HAS_ definitions for Android. 2019-11-18 12:19:58 -08:00
cstring Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ctgmath Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
ctime [libc++] Avoid including <sys/cdefs.h> on non-Apple platforms in <ctime> 2020-09-02 18:11:26 -04:00
ctype.h Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
cwchar Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
cwctype Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
deque [libc++][P1115][C++20] Improving the Return Value of Erase-Like Algorithms II: Free erase/erase if. 2020-05-02 14:04:50 +02:00
errno.h Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
exception Fix -Wdeprecated-copy-dtor and -Wdeprecated-dynamic-exception-spec warnings. 2020-03-17 18:59:54 +01:00
execution [pstl][libc++] Provide uglified header names for interface headers 2019-08-06 21:11:24 +00:00
fenv.h Mark fenv.h as a system header before the #include_next directive 2019-03-29 16:03:57 +00:00
filesystem Fix -Wdeprecated-copy-dtor and -Wdeprecated-dynamic-exception-spec warnings. 2020-03-17 18:59:54 +01:00
float.h Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
forward_list [libc++][P1115][C++20] Improving the Return Value of Erase-Like Algorithms II: Free erase/erase if. 2020-05-02 14:04:50 +02:00
fstream Open fstream files in O_CLOEXEC mode when possible. 2019-09-16 19:26:41 +00:00
functional [libc++] Avoid including <Block.h> from <functional> 2020-07-31 14:22:28 -04:00
future [libc++] Remove some workarounds for missing variadic templates 2020-09-17 11:05:39 -04:00
initializer_list [NFC][libcxx] Remove trailing whitespace 2019-05-29 16:01:36 +00:00
inttypes.h AIX system headers need stdint.h and inttypes.h to be re-enterable 2019-06-20 15:36:32 +00:00
iomanip [NFC][libcxx] Remove trailing whitespace 2019-05-29 16:01:36 +00:00
ios [libc++] Reduce dependencies on <iostream> from <random> 2020-10-15 13:40:18 -04:00
iosfwd [libc++] Reduce dependencies on <iostream> from <random> 2020-10-15 13:40:18 -04:00
iostream Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
istream [libc++] Drop old workaround for iostreams instantiations missing from the dylib 2020-10-22 14:51:25 -04:00
iterator [libc++] Remove unused includes of Availability.h 2020-10-07 18:03:40 -04:00
latch [libc++] Add availability markup for the C++20 Synchronization Library on Apple 2020-04-06 18:07:26 -04:00
limits Fix -Wdouble-promotion warnings. 2019-07-01 16:13:31 +00:00
limits.h Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
list [libc++] NFCI: Simplify macro definitions for the debug mode 2020-10-02 15:11:23 -04:00
locale [libc++] Remove unused includes of Availability.h 2020-10-07 18:03:40 -04:00
locale.h Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
map Fixes complexity of map insert_or_assign with a hint. 2020-09-19 16:28:55 +02:00
math.h Reland [libc++] Move abs and div into stdlib.h to fix header cycle. 2020-05-08 21:52:27 +02:00
memory [libc++] Make __shared_weak_count vtable consistent across all build configurations 2020-10-20 08:19:43 -04:00
module.modulemap [libc++] Implement <numbers> 2020-06-19 14:25:02 +05:30
mutex [libc++] Mark __call_once_proxy as hidden and internal 2019-11-11 10:27:48 -05:00
new [libc++] Clean up logic around aligned/sized allocation and deallocation 2020-10-09 12:43:28 -04:00
numbers [libc++] Require concepts support for <numbers> 2020-06-19 10:49:44 -04:00
numeric [libc++] Fix typo in std::midpoint 2019-12-21 01:26:24 -08:00
optional Add a missing '__uncvref_t' to the SFINAE constraints for optional's assignment operator. Fixes PR38638. Thanks to Jonathan Wakely for the report 2019-06-27 18:40:55 +00:00
ostream [libc++] Drop old workaround for iostreams instantiations missing from the dylib 2020-10-22 14:51:25 -04:00
queue Rename __is_foo_iterator traits to reflect their Cpp17 nature. 2019-11-18 01:49:32 -05:00
random [libc++] Reduce dependencies on <iostream> from <random> 2020-10-15 13:40:18 -04:00
ratio Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
regex [libc++] Fix some typos in the comment header for <regex> 2020-06-25 15:34:51 -04:00
scoped_allocator Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
semaphore [libc++] Add availability markup for the C++20 Synchronization Library on Apple 2020-04-06 18:07:26 -04:00
set [libc++][P1115][C++20] Improving the Return Value of Erase-Like Algorithms II: Free erase/erase if. 2020-05-02 14:04:50 +02:00
setjmp.h Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
shared_mutex Revert "Suppress -Wctad-maybe-unsupported on types w/o deduction guides." 2019-08-04 07:13:43 +00:00
span [libcxx] Remove swap for std::span 2020-05-20 14:34:21 -04:00
sstream [libc++] NFCI: Define small methods of basic_stringstream inline 2020-10-09 14:33:49 -04:00
stack [NFC][libcxx] Remove trailing whitespace 2019-05-29 16:01:36 +00:00
stdbool.h Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
stddef.h Avoid using std::max_align_t in pre-C++11 mode 2020-04-04 01:38:41 +02:00
stdexcept Fix -Wdeprecated-copy-dtor and -Wdeprecated-dynamic-exception-spec warnings. 2020-03-17 18:59:54 +01:00
stdint.h AIX system headers need stdint.h and inttypes.h to be re-enterable 2019-06-20 15:36:32 +00:00
stdio.h Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
stdlib.h Reland [libc++] Move abs and div into stdlib.h to fix header cycle. 2020-05-08 21:52:27 +02:00
streambuf [libc++] Drop old workaround for iostreams instantiations missing from the dylib 2020-10-22 14:51:25 -04:00
string [libc++] Make sure __clear_and_shrink() maintains string invariants 2020-10-07 09:16:59 -04:00
string_view [libc++] Add assert to check bounds in constexpr string_view::operator[] 2020-10-06 16:57:41 -04:00
string.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
strstream Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
system_error Fix -Wdeprecated-copy-dtor and -Wdeprecated-dynamic-exception-spec warnings. 2020-03-17 18:59:54 +01:00
tgmath.h Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
thread [libc++] Work around gcc/Power9 bug in include/thread 2020-06-10 12:40:43 -04:00
tuple Add constexpr to pair 2020-09-02 21:21:24 +02:00
type_traits [libc++] Remove some workarounds for C++03 2020-10-09 12:35:13 -04:00
typeindex Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
typeinfo [libc++] Fix the LIBCXX_HAS_MERGED_TYPEINFO_NAMES_DEFAULT setting 2020-05-29 06:14:30 -04:00
unordered_map [libc++] NFCI: Simplify macro definitions for the debug mode 2020-10-02 15:11:23 -04:00
unordered_set [libc++] NFCI: Simplify macro definitions for the debug mode 2020-10-02 15:11:23 -04:00
utility Add constexpr to pair 2020-09-02 21:21:24 +02:00
valarray [libc++] Replace uses of __libcpp_allocate by std::allocator<> 2020-09-28 16:09:42 -04:00
variant [libc++] NFC: Rename variant helpers to avoid name clashes 2020-10-05 16:41:25 -04:00
vector [libc++] NFCI: Simplify macro definitions for the debug mode 2020-10-02 15:11:23 -04:00
version [libc++] Implement C++20's P0784 (More constexpr containers) 2020-09-22 11:20:33 -04:00
wchar.h [libc++] Add missing <stddef.h> include to <wchar.h> 2020-06-25 19:27:32 -04:00
wctype.h Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00