llvm-project/libcxx/include
Tom Honermann 946849f6d0 [libc++] Workaround the absence of the __GLIBC_USE macro in glibc versions prior to 2.25.
This change correct a configuration check that relies on the glibc __GLIBC_USE
macro being defined. Previously, the function-like macro was expanded without
ensuring it was actually defined. This resulted in compilation failures for
glibc versions prior to 2.25 (the glibc version in which the macro was added).

Differential Revision: https://reviews.llvm.org/D130946
2022-09-11 16:39:37 -04:00
..
__algorithm [libc++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +02:00
__bit
__charconv [libc++][NFC] Rename the constexpr macros 2022-08-19 15:35:02 +02:00
__chrono [libc++] Fix compilation error on platforms that don't implement std::tm 2022-09-08 18:10:53 -04: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++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +02: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++][chrono] Implements formatter day. 2022-09-07 18:44:04 +02:00
__functional [libc++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +02:00
__fwd [libc++] Granularize __tuple 2022-09-05 16:36:24 +02:00
__ios
__iterator [libc++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +02:00
__memory [libc++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +02:00
__numeric [libc++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +02:00
__random [libc++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +02:00
__ranges [libc++] Granularize __tuple 2022-09-05 16:36:24 +02:00
__string [NFC][libc++] char_traits code cleanups. 2022-08-31 22:18:10 +02:00
__support [libc++] Make the naming of private member variables consistent and enforce it through readability-identifier-naming 2022-09-02 21:36:36 +02:00
__thread
__tuple [libc++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +02:00
__type_traits [libc++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +02:00
__utility [libc++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +02:00
__variant [libc++][spaceship] Implement std::variant::operator<=> 2022-08-14 16:16:52 -07:00
experimental [libc++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +02:00
ext [libc++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +02:00
CMakeLists.txt [libc++][chrono] Implements formatter day. 2022-09-07 18:44:04 +02:00
__assert
__availability
__bit_reference [libc++][NFC] Rename the constexpr macros 2022-08-19 15:35:02 +02:00
__bits
__bsd_locale_defaults.h
__bsd_locale_fallbacks.h [libc++] Granularize the rest of memory 2022-09-05 12:36:41 +02:00
__config [libc++] Workaround the absence of the __GLIBC_USE macro in glibc versions prior to 2.25. 2022-09-11 16:39:37 -04:00
__config_site.in
__debug [libc++][NFC] Enable modernize-use-override 2022-08-25 20:55:08 +02:00
__errc
__hash_table [libc++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +02:00
__locale [libc++] Granularize the rest of memory 2022-09-05 12:36:41 +02:00
__mbstate_t.h
__mutex_base
__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
__threading_support [libc++] Granularize the rest of type_traits 2022-08-14 10:30:48 +02:00
__tree [libc++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +02:00
__undef_macros
__verbose_abort
algorithm [libc++] Granularize the rest of memory 2022-09-05 12:36:41 +02:00
any [libc++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +02:00
array [libc++] Granularize __tuple 2022-09-05 16:36:24 +02:00
atomic [libc++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +02:00
barrier [libc++] Granularize the rest of memory 2022-09-05 12:36:41 +02:00
bit [NFC][libc++] Moves transitive includes location. 2022-09-03 10:06:16 +02:00
bitset [libc++][NFC] Rename the constexpr macros 2022-08-19 15:35:02 +02:00
cassert
ccomplex
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 [NFC][libc++] Moves transitive includes location. 2022-09-03 10:06:16 +02:00
chrono [libc++][chrono] Implements formatter day. 2022-09-07 18:44:04 +02:00
cinttypes [libc++] Diagnose when header search paths are set up incorrectly 2022-08-17 14:05:26 -04:00
ciso646
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
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
complex [libc++][NFC] Rename the constexpr macros 2022-08-19 15:35:02 +02:00
complex.h
concepts
condition_variable [libc++] Granularize the rest of memory 2022-09-05 12:36:41 +02:00
coroutine [NFC][libc++] Moves transitive includes location. 2022-09-03 10:06:16 +02:00
csetjmp [libc++] Diagnose when header search paths are set up incorrectly 2022-08-17 14:05:26 -04:00
csignal
cstdarg
cstdbool
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
ctime
ctype.h
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++] Granularize the rest of memory 2022-09-05 12:36:41 +02:00
errno.h
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
fenv.h
filesystem [libc++] Implement `operator<=>` for `filesystem::directory_entry` 2022-08-18 14:46:13 -07:00
float.h
format [NFC][libc++][format] Removes unused code. 2022-09-03 13:34:14 +02:00
forward_list [libc++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +02:00
fstream [libc++] Granularize the rest of memory 2022-09-05 12:36:41 +02:00
functional [libc++] Granularize the rest of memory 2022-09-05 12:36:41 +02:00
future [libc++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +02:00
initializer_list [libc++][NFC] Rename the constexpr macros 2022-08-19 15:35:02 +02:00
inttypes.h
iomanip
ios [libc++][NFC] Enable modernize-use-override 2022-08-25 20:55:08 +02:00
iosfwd
iostream
istream [libc++][NFC] Enable modernize-use-override 2022-08-25 20:55:08 +02:00
iterator [NFC][libc++] Moves transitive includes location. 2022-09-03 10:06:16 +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++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +02:00
limits.h
list [libc++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +02:00
locale [libc++][locale] Removes an transitive include. 2022-09-07 18:54:26 +02:00
locale.h
map [libc++] Granularize the rest of memory 2022-09-05 12:36:41 +02:00
math.h
memory [libc++] Granularize the rest of memory 2022-09-05 12:36:41 +02:00
module.modulemap.in [libc++][random] Removes transitive includes. 2022-09-11 17:39:27 +02:00
mutex [libc++] Granularize the rest of memory 2022-09-05 12:36:41 +02:00
new [libc++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +02:00
numbers
numeric [NFC][libc++] Moves transitive includes location. 2022-09-03 10:06:16 +02:00
optional [libc++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +02:00
ostream [libc++] Granularize the rest of memory 2022-09-05 12:36:41 +02:00
queue [libc++] Granularize the rest of memory 2022-09-05 12:36:41 +02:00
random [libc++][random] Removes transitive includes. 2022-09-11 17:39:27 +02:00
ranges [libc++] Granularize __tuple 2022-09-05 16:36:24 +02:00
ratio Revert "[libcxx] Resolve warnings for Wshift-sign-overflow" 2022-08-17 10:37:24 -07:00
regex [libc++] Granularize the rest of memory 2022-09-05 12:36:41 +02:00
scoped_allocator [libc++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +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++] Granularize the rest of memory 2022-09-05 12:36:41 +02:00
setjmp.h
shared_mutex [libc++] Make the naming of private member variables consistent and enforce it through readability-identifier-naming 2022-09-02 21:36:36 +02:00
span [NFC][libc++] Moves transitive includes location. 2022-09-03 10:06:16 +02:00
sstream [libc++][NFC] Enable modernize-use-override 2022-08-25 20:55:08 +02:00
stack [NFC][libc++] Moves transitive includes location. 2022-09-03 10:06:16 +02:00
stdatomic.h
stdbool.h
stddef.h
stdexcept [libc++][NFC] Enable modernize-use-override 2022-08-25 20:55:08 +02:00
stdint.h
stdio.h
stdlib.h
streambuf
string [libc++] Granularize the rest of memory 2022-09-05 12:36:41 +02:00
string.h
string_view [NFC][libc++] Moves transitive includes location. 2022-09-03 10:06:16 +02:00
strstream [libc++][NFC] Enable modernize-use-override 2022-08-25 20:55:08 +02:00
system_error [libc++][NFC] Enable modernize-use-override 2022-08-25 20:55:08 +02:00
tgmath.h
thread [libc++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +02:00
tuple [libc++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +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++][NFC] Enable modernize-use-override 2022-08-25 20:55:08 +02: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++] Granularize the rest of memory 2022-09-05 12:36:41 +02:00
unordered_set [libc++] Granularize the rest of memory 2022-09-05 12:36:41 +02:00
utility [libc++] Granularize __tuple 2022-09-05 16:36:24 +02:00
valarray [libc++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +02:00
variant [libc++] Avoid instantiating type_trait classes 2022-09-06 19:09:42 +02:00
vector [libc++] Granularize the rest of memory 2022-09-05 12:36:41 +02:00
version [libc++][format] Updates feature-test macros. 2022-09-07 18:39:39 +02:00
wchar.h
wctype.h