hanchenye-llvm-project/libcxx/include
Howard Hinnant 2446649c1e Saleem Abdulrasool: If errno is defined as volatile int, the qualifier differences can cause
template typename deductions on swap<> (used in string.cpp).  Use
decltype(errno) to replicate the type and qualifier information for holding the
errno value.  Because errno is expected to be assignable, there is no need to
use typename std::remove_const<decltype(errno)>::type to hold the value.

llvm-svn: 173172
2013-01-22 17:26:08 +00:00
..
ext Dimitry Andric: Silence some miscellaneous warnings. 2012-11-06 21:55:44 +00:00
support Define _WCHAR_T in solaris/wchar.h. This fixes a bug where Solaris 10 headers 2012-03-02 10:56:04 +00:00
__bit_reference std::equal operating on non-const __bit_iterators was not working. This fixes it. 2012-08-05 21:43:11 +00:00
__config Michael van der Westhuizen: Patches for Linux. Fixes http://llvm.org/bugs/show_bug.cgi?id=14648. 2013-01-14 17:07:27 +00:00
__debug Further macro protection by replacing _[A-Z] with _[A-Z]p 2011-11-29 18:15:50 +00:00
__functional_03 Further macro protection by replacing _[A-Z] with _[A-Z]p 2011-11-29 18:15:50 +00:00
__functional_base Rename uses of _ and __ because these are getting stepped on by macros from other system code. 2012-10-30 19:06:59 +00:00
__functional_base_03 Rename uses of _ and __ because these are getting stepped on by macros from other system code. 2012-10-30 19:06:59 +00:00
__hash_table Dimitry Andric: many visibility fixes. Howard: Much appreciated. Can you send me a patch to CREDITS.TXT? 2012-09-14 00:39:16 +00:00
__locale Provide a way to disable use of extern templates in libc++. This is intended for the clients of libc++, not the libc++ build. The dylib should always contain the extern templates. To disable the client needs to put -D'_LIBCPP_EXTERN_TEMPLATE(...)=' on the command line. 2012-11-06 21:08:48 +00:00
__mutex_base Rename uses of _ and __ because these are getting stepped on by macros from other system code. 2012-10-30 19:06:59 +00:00
__split_buffer Implement a few optimizations for vector push_back and insert. Fixes r10828365. 2012-02-15 00:41:34 +00:00
__sso_allocator Further macro protection by replacing _[A-Z] with _[A-Z]p 2011-11-29 18:15:50 +00:00
__std_stream Quash a whole bunch of warnings 2011-12-01 20:21:04 +00:00
__tree Dimitry Andric: many visibility fixes. Howard: Much appreciated. Can you send me a patch to CREDITS.TXT? 2012-09-14 00:39:16 +00:00
__tuple Dimitry Andric: many visibility fixes. Howard: Much appreciated. Can you send me a patch to CREDITS.TXT? 2012-09-14 00:39:16 +00:00
__tuple_03 Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
__undef_min_max Some minor mingw64 porting tweaks from Glen. 2012-09-03 18:13:11 +00:00
algorithm Provide a way to disable use of extern templates in libc++. This is intended for the clients of libc++, not the libc++ build. The dylib should always contain the extern templates. To disable the client needs to put -D'_LIBCPP_EXTERN_TEMPLATE(...)=' on the command line. 2012-11-06 21:08:48 +00:00
array Added static_assert to std::get<N>(std::array) calls to catch "out of bounds" calls 2012-12-18 16:46:30 +00:00
atomic Implement the ATOMIC_*_LOCK_FREE macros. 2013-01-21 20:39:41 +00:00
bitset Dimitry Andric: many visibility fixes. Howard: Much appreciated. Can you send me a patch to CREDITS.TXT? 2012-09-14 00:39:16 +00:00
cassert Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
ccomplex Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
cctype More windows port work by Ruben Van Boxem 2011-10-22 20:59:45 +00:00
cerrno Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
cfenv Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
cfloat Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
chrono Don't neglect to "return *this". 2012-10-13 02:03:45 +00:00
cinttypes Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
ciso646 Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
climits Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
clocale Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
cmath Make <cmath> classification macros work with integral types. 2013-01-14 20:56:22 +00:00
codecvt Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
complex Dimitry Andric: Silence some miscellaneous warnings. 2012-11-06 21:55:44 +00:00
complex.h Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
condition_variable Rename uses of _ and __ because these are getting stepped on by macros from other system code. 2012-10-30 19:06:59 +00:00
csetjmp Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
csignal Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
cstdarg Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
cstdbool Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
cstddef Rename uses of _ and __ because these are getting stepped on by macros from other system code. 2012-10-30 19:06:59 +00:00
cstdint Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
cstdio Patch by Andrew C. Morrow: shims to work around macroized getc and putc on linux. On my eglibc 2.13 based Debian system 'getc' is a macro defined in 2012-07-26 20:01:13 +00:00
cstdlib Dimitry Andric: When using libc++ headers on FreeBSD, in combination with -std=c++98, 2012-11-26 21:18:17 +00:00
cstring Solaris port. Currently sees around 200 test failures, mostly related to 2012-02-29 13:05:08 +00:00
ctgmath Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
ctime Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
cwchar Dimitry Andric: When using libc++ headers on FreeBSD, in combination with -std=c++98, 2012-11-26 21:18:17 +00:00
cwctype Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
deque Change emplace for vector and deque to create the temporary (when necessary) before any changes to the container are made. Nikolay Ivchenkov deserves the credit for pushing this problem and the solution for it. 2012-07-08 23:23:04 +00:00
exception Remove 'noreturn' attribute from friend declaration. This attribute will be 2012-11-29 04:30:50 +00:00
forward_list Dimitry Andric: many visibility fixes. Howard: Much appreciated. Can you send me a patch to CREDITS.TXT? 2012-09-14 00:39:16 +00:00
fstream Don't neglect to "return *this". 2012-10-13 02:03:45 +00:00
functional Donated anonymously: This enables GCC 4.8.0 to build libc++. 2013-01-21 17:26:55 +00:00
future Donated anonymously: This enables GCC 4.8.0 to build libc++. 2013-01-21 17:26:55 +00:00
initializer_list Further macro protection by replacing _[A-Z] with _[A-Z]p 2011-11-29 18:15:50 +00:00
iomanip Further macro protection by replacing _[A-Z] with _[A-Z]p 2011-11-29 18:15:50 +00:00
ios Rename uses of _ and __ because these are getting stepped on by macros from other system code. 2012-10-30 19:06:59 +00:00
iosfwd Dimitry Andric: many visibility fixes. Howard: Much appreciated. Can you send me a patch to CREDITS.TXT? 2012-09-14 00:39:16 +00:00
iostream Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
istream Hyeon-Bin Jeong: readsome() need to reset gcount to zero. This fixes http://llvm.org/bugs/show_bug.cgi?id=14670. 2012-12-20 15:40:28 +00:00
iterator Remove test for eof from istreambuf_iterator constructors. It is no longer necessary and potentially violates the constructor's noexcept spec. 2012-12-29 17:45:42 +00:00
limits Zhang Xiongpang: Add definitions for const data members. Fixes http://llvm.org/bugs/show_bug.cgi?id=14585. 2012-12-12 21:14:28 +00:00
list Dimitry Andric: many visibility fixes. Howard: Much appreciated. Can you send me a patch to CREDITS.TXT? 2012-09-14 00:39:16 +00:00
locale Saleem Abdulrasool: If errno is defined as volatile int, the qualifier differences can cause 2013-01-22 17:26:08 +00:00
map The rules for emplace in map, multimap, unordered_map and unordered_multimap changed a while back and I'm just now updating to these new rules. In a nutshell, you've got to know you're emplacing to a pair and use one of pair's constructors. I made one extension: If you want to emplace the key and default construct the mapped_type, you can just emplace(key), as opposed to emplace(piecewise_construct, forward_as_tuple(key), forward_as_tuple()). 2012-05-25 22:04:21 +00:00
memory Fix exception safety bug in vector::push_back 2013-01-11 20:36:59 +00:00
mutex Dimitry Andric: many visibility fixes. Howard: Much appreciated. Can you send me a patch to CREDITS.TXT? 2012-09-14 00:39:16 +00:00
new mark operator new(std::nothrow) as noalias (aka __attribute__((malloc)) 2012-06-28 16:47:34 +00:00
numeric More windows port work by Ruben Van Boxem 2011-10-22 20:59:45 +00:00
ostream Optimize basic_ostream::write by having it call sputn instead of sputc. 2013-01-15 17:22:03 +00:00
queue Dimitry Andric: many visibility fixes. Howard: Much appreciated. Can you send me a patch to CREDITS.TXT? 2012-09-14 00:39:16 +00:00
random Zhang Xiongpang: Add definitions for const data members. Fixes http://llvm.org/bugs/show_bug.cgi?id=14585. 2012-12-12 21:14:28 +00:00
ratio Further macro protection by replacing _[A-Z] with _[A-Z]p 2011-11-29 18:15:50 +00:00
regex Zhang Xiongpang: Add definitions for const data members. Fixes http://llvm.org/bugs/show_bug.cgi?id=14585. 2012-12-12 21:14:28 +00:00
scoped_allocator Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
set Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
sstream Add protection from min/max macros 2011-11-29 16:45:27 +00:00
stack Dimitry Andric: many visibility fixes. Howard: Much appreciated. Can you send me a patch to CREDITS.TXT? 2012-09-14 00:39:16 +00:00
stdexcept Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
streambuf Provide a way to disable use of extern templates in libc++. This is intended for the clients of libc++, not the libc++ build. The dylib should always contain the extern templates. To disable the client needs to put -D'_LIBCPP_EXTERN_TEMPLATE(...)=' on the command line. 2012-11-06 21:08:48 +00:00
string Klaas de Vries: Fix bug in libc++'s std::string::find_first_not_of. 2012-12-31 20:09:48 +00:00
strstream Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
system_error Rename uses of _ and __ because these are getting stepped on by macros from other system code. 2012-10-30 19:06:59 +00:00
tgmath.h Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
thread Dimitry Andric: many visibility fixes. Howard: Much appreciated. Can you send me a patch to CREDITS.TXT? 2012-09-14 00:39:16 +00:00
tuple Rename uses of _ and __ because these are getting stepped on by macros from other system code. 2012-10-30 19:06:59 +00:00
type_traits Implement std::is_base_of for the case where we don't have a compiler 2012-12-20 04:20:28 +00:00
typeindex Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
typeinfo Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
unordered_map The rules for emplace in map, multimap, unordered_map and unordered_multimap changed a while back and I'm just now updating to these new rules. In a nutshell, you've got to know you're emplacing to a pair and use one of pair's constructors. I made one extension: If you want to emplace the key and default construct the mapped_type, you can just emplace(key), as opposed to emplace(piecewise_construct, forward_as_tuple(key), forward_as_tuple()). 2012-05-25 22:04:21 +00:00
unordered_set Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
utility Enable the tuple interface of pair in C++03 mode. 2012-11-06 21:42:45 +00:00
valarray Provide a way to disable use of extern templates in libc++. This is intended for the clients of libc++, not the libc++ build. The dylib should always contain the extern templates. To disable the client needs to put -D'_LIBCPP_EXTERN_TEMPLATE(...)=' on the command line. 2012-11-06 21:08:48 +00:00
vector Fix exception safety bug in vector::push_back 2013-01-11 20:36:59 +00:00