llvm-project/libcxx/include
Richard Smith d6cffc4fe0 Split <stddef.h> out of <cstddef>.
There are a bunch of macros (__need_size_t etc) that request just one piece of
<stddef.h>; if any one of these is defined, we just directly include the
underlying header.

Note that <stddef.h> provides a ::nullptr_t. We don't want that available to
includers of <cstddef>, so instead of following the usual pattern where <cfoo>
includes <foo.h> then pulls things from :: into std:: with using-declarations,
we implement <stddef.h> and <cstddef> separately; both include <__nullptr> for
the definition of std::nullptr_t.

llvm-svn: 249761
2015-10-08 22:25:27 +00:00
..
experimental Fix initialzation order in dynarray 2015-10-01 07:29:38 +00:00
ext Fix warnings about pessimizing return moves for C++11 and higher 2015-08-19 06:43:33 +00:00
support cmath: account for MSVCRT 12.0 changes 2015-02-28 20:18:39 +00:00
CMakeLists.txt [libcxx] Add "install-libcxx" target. 2015-08-19 17:41:53 +00:00
__bit_reference Get tests running with warnings. Fix warnings in headers and tests 2015-02-05 20:28:37 +00:00
__config Fix Typo in GCC no RTTI detection. Fixes PR#24901. Thanks to Bernhard Rosenkraenzer for the report and the patch. 2015-09-22 21:58:30 +00:00
__debug Print log/error messages on stderr, not stdout 2015-03-10 07:57:43 +00:00
__functional_03 [libcxx] Fix PR23589: std::function doesn't recognize null pointer to varargs function. 2015-08-18 19:41:51 +00:00
__functional_base [libcxx] Rewrite C++03 __invoke. 2015-08-26 20:15:02 +00:00
__functional_base_03 [libcxx] Rewrite C++03 __invoke. 2015-08-26 20:15:02 +00:00
__hash_table Fix warnings about pessimizing return moves for C++11 and higher 2015-08-19 06:43:33 +00:00
__locale Fix ctype_byname<wchar_t>::do_is() mask checking.... again 2015-03-11 17:00:28 +00:00
__mutex_base Do not include pthread.h and sched.h when threads are disabled 2015-08-27 17:47:34 +00:00
__nullptr Factor definition of std::nullptr_t out of <cstddef> into a header that can also be used by <stddef.h>. 2015-10-08 20:34:11 +00:00
__refstring Fix some -Wundef issues. 2015-02-05 02:34:59 +00:00
__split_buffer Implement the first part of N4258: 'Cleaning up noexcept in the Library'. This patch deals with swapping containers, and implements a more strict noexcept specification (a conforming extension) than the standard mandates. 2015-07-13 20:04:56 +00:00
__sso_allocator Handle function name conflicts in _LIBCPP_MSVCRT mode 2015-02-13 22:15:32 +00:00
__std_stream Enable and fix warnings during the build. 2015-07-18 20:40:46 +00:00
__tree Fix warnings about pessimizing return moves for C++11 and higher 2015-08-19 06:43:33 +00:00
__tuple Move __lazy_* metafunctions to type traits and add tests 2015-08-31 03:50:31 +00:00
__undef___deallocate Handle function name conflicts in _LIBCPP_MSVCRT mode 2015-02-13 22:15:32 +00:00
__undef_min_max Fix-it suggestion for fixing min or max defines on Windows. 2013-11-15 23:41:01 +00:00
algorithm Fix warnings about pessimizing return moves for C++11 and higher 2015-08-19 06:43:33 +00:00
array [libcxx] Move tuple_size and tuple_element overloads for pair and array out of !defined(_LIBCPP_HAS_NO_VARIADICS) block. 2015-03-17 15:08:03 +00:00
atomic [libcxx] Allow use of <atomic> in C++03. Try 3. 2015-08-19 17:21:46 +00:00
bitset Make locales (and transitively, std::endl) work reliably with gcc. 2014-06-04 15:46:56 +00:00
cassert
ccomplex
cctype Split <ctype.h> out of <cctype>. 2015-10-08 20:36:30 +00:00
cerrno Split <errno.h> out of <cerrno>. 2015-10-08 20:37:11 +00:00
cfenv Fix incorrect file header. This is <cfenv> not <cctype>. 2015-10-08 21:17:21 +00:00
cfloat Split <float.h> out of <cfloat>. 2015-10-08 20:37:44 +00:00
chrono Partially address a FIXME in steady_clock::now() 2014-09-02 21:14:38 +00:00
cinttypes Split <inttypes.h> out of <cinttypes>. 2015-10-08 20:38:53 +00:00
ciso646
climits
clocale Make support for thread-unsafe C functions optional. 2015-06-24 08:44:38 +00:00
cmath Split <math.h> out of <cmath>. 2015-10-08 20:40:34 +00:00
codecvt Update synopsis in <locale> to match LWG Issue 2229. No code change 2013-08-27 14:22:13 +00:00
complex Implement literal suffixes for compled 2013-10-05 21:19:49 +00:00
complex.h
condition_variable Allow libc++ to be built on systems without POSIX threads 2014-09-05 19:45:05 +00:00
csetjmp Split <setjmp.h> out of <csetjmp>. 2015-10-08 20:41:26 +00:00
csignal
cstdarg
cstdbool
cstddef Split <stddef.h> out of <cstddef>. 2015-10-08 22:25:27 +00:00
cstdint
cstdio Remove unnecessary inline functions capturing the contents of C library macros. 2015-10-06 22:03:22 +00:00
cstdlib Make support for thread-unsafe C functions optional. 2015-06-24 08:44:38 +00:00
cstring Make support for thread-unsafe C functions optional. 2015-06-24 08:44:38 +00:00
ctgmath
ctime Make support for thread-unsafe C functions optional. 2015-06-24 08:44:38 +00:00
ctype.h Split <ctype.h> out of <cctype>. 2015-10-08 20:36:30 +00:00
cwchar Make the presence of stdin and stdout optional. 2015-03-26 14:35:46 +00:00
cwctype Remove unnecessary inline functions capturing the contents of C library macros. 2015-10-06 22:03:22 +00:00
deque Fix warnings in deque tests 2015-07-19 00:31:54 +00:00
errno.h Split <errno.h> out of <cerrno>. 2015-10-08 20:37:11 +00:00
exception [libcxx] Fix detection of __is_final. 2015-06-13 07:08:02 +00:00
float.h Split <float.h> out of <cfloat>. 2015-10-08 20:37:44 +00:00
forward_list Implement the first part of N4258: 'Cleaning up noexcept in the Library'. This patch deals with swapping containers, and implements a more strict noexcept specification (a conforming extension) than the standard mandates. 2015-07-13 20:04:56 +00:00
fstream Add option to disable access to the global filesystem namespace. 2015-03-12 15:44:39 +00:00
functional [libcxx] Rewrite C++03 __invoke. 2015-08-26 20:15:02 +00:00
future [libcxx] Attempt to fix __throw_future_error in C++03 2015-10-02 21:25:15 +00:00
initializer_list Apply constexpr to initializer_list for c++1y. 2013-08-26 20:11:32 +00:00
inttypes.h Split <inttypes.h> out of <cinttypes>. 2015-10-08 20:38:53 +00:00
iomanip Implement LWG #2344: quoted()'s interaction with padding is unclear. I think that anyone using quoted with padding is really confused, but it should work the way the rest of iostreams works. 2014-03-07 21:45:32 +00:00
ios [libcxx] Allow use of <atomic> in C++03. Try 3. 2015-08-19 17:21:46 +00:00
iosfwd Revert: Revert r227804: Use fseek/ftell instead of fseeko/ftello when Newlib is the libc 2015-02-03 15:34:17 +00:00
iostream Make the presence of stdin and stdout optional. 2015-03-26 14:35:46 +00:00
istream K-ballo pointed out *another* mistype in my change 2014-09-17 01:58:15 +00:00
iterator A few bits of N2994 didn't get fully implemented a long time ago. Thanks to STL@microsoft.com for the bug report 2015-04-16 21:36:54 +00:00
limits libc++: integral types trap on PNaCl 2014-11-26 17:51:58 +00:00
list Recommit rL245802: Cleanup fancy pointer rebinding in list using __rebind_pointer. 2015-08-23 02:56:05 +00:00
locale Remove a switch statement, and replace with a bunch of ifs to silence a warning about 'all the enumeration values covered'. No functional change. 2015-08-27 14:37:22 +00:00
map Fix warnings about pessimizing return moves for C++11 and higher 2015-08-19 06:43:33 +00:00
math.h Split <math.h> out of <cmath>. 2015-10-08 20:40:34 +00:00
memory [libcxx] Constrain unique_ptr::operator=(unique_ptr<Tp, Dp>) in C++03 mode 2015-08-28 05:07:06 +00:00
module.modulemap Handle function name conflicts in _LIBCPP_MSVCRT mode 2015-02-13 22:15:32 +00:00
mutex Do not include pthread.h and sched.h when threads are disabled 2015-08-27 17:47:34 +00:00
new [libcxx] Rework sized delete. 2015-05-19 02:03:22 +00:00
numeric [libcxx] Fix use of operator comma where the types can be user defined 2014-10-27 19:28:20 +00:00
ostream Make seeking on an ostream that has eofbit set work correctly. Fixes PR#21361 2015-06-22 15:01:21 +00:00
queue Move the default template arguments into the forward declarations for the container adapters: stack and queue. References PR#22605. 2015-02-18 17:51:56 +00:00
random Remove unused typedefs in random and regex 2015-07-18 22:57:14 +00:00
ratio Fix building and testing libc++ with GCC. 2015-05-20 03:15:01 +00:00
regex Fix a crasher found by libFuzzer 2015-08-24 15:57:09 +00:00
scoped_allocator Add 'is_always_equal' tests for scoped_allocator. Found that I had typed '||' where I meant '&&' in the code; fixed that, too 2015-06-03 16:15:55 +00:00
set Fix for LWG Issue 2059: C++0x ambiguity problem with map::erase 2015-05-10 13:35:00 +00:00
setjmp.h Split <setjmp.h> out of <csetjmp>. 2015-10-08 20:41:26 +00:00
shared_mutex Implement N4508: shared_mutex. Reviewed as http://reviews.llvm.org/D10480 2015-06-30 14:04:14 +00:00
sstream Fix a bug in the move-assigment operator for basic_stringbuf. Thanks to Johnathan Wakeley for the bug report 2014-09-16 18:57:52 +00:00
stack Move the default template arguments into the forward declarations for the container adapters: stack and queue. References PR#22605. 2015-02-18 17:51:56 +00:00
stddef.h Split <stddef.h> out of <cstddef>. 2015-10-08 22:25:27 +00:00
stdexcept Fix unused private field warning in stdexcept after r207695. 2015-02-05 07:40:48 +00:00
streambuf Make basic_streambuf::xsputn write characters in chunks whenever possible, instead of one at a time. References PR#10193 2015-02-19 16:17:46 +00:00
string Implement LWG#2063, and update the issues links to point to the github generated pages 2015-10-05 16:17:34 +00:00
strstream No functionality change at this time. I've split _LIBCPP_VISIBLE up into two flags: _LIBCPP_TYPE_VIS and _LIBCPP_FUNC_VIS. This is in preparation for taking advantage of clang's new __type_visibility__ attribute. 2013-03-06 23:30:19 +00:00
system_error Fix most GCC warnings during build. Only -Wattribute left. 2015-08-28 07:02:42 +00:00
tgmath.h
thread Fix use of static_assert macro with nested commas 2015-08-19 03:38:41 +00:00
tuple [libcxx] Fix detection of __is_final. 2015-06-13 07:08:02 +00:00
type_traits Remove possible trailing padding from aligned_storage. Patch from Yiran Wang 2015-09-22 18:37:03 +00:00
typeindex Nico Rieck: this patch series fixes visibility issues on Windows as explained in <http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-August/031214.html>. 2013-08-12 18:38:34 +00:00
typeinfo RTTI Uniqueness: remove __name_for_load function. 2014-04-03 09:12:38 +00:00
unordered_map Fix warnings about pessimizing return moves for C++11 and higher 2015-08-19 06:43:33 +00:00
unordered_set Implement the first part of N4258: 'Cleaning up noexcept in the Library'. This patch deals with swapping containers, and implements a more strict noexcept specification (a conforming extension) than the standard mandates. 2015-07-13 20:04:56 +00:00
utility Change pair::swap(pair&) to call ADL swap instead of iter_swap; this fixes an obscure bug having to do with overloaded operator&. Fixes PR#24890 2015-09-22 17:50:11 +00:00
valarray Handle function name conflicts in _LIBCPP_MSVCRT mode 2015-02-13 22:15:32 +00:00
vector implement more of N4258 - Cleaning up noexcept in the standard library. Specifically add new noexcept stuff to vector and string's move-assignment operations 2015-08-18 18:57:00 +00:00