aac8dd8331[tests] Mark some istream.unformatted expected failures (with system libc++).
Daniel Dunbar
2013-02-05 21:43:32 +0000
a5b51964c1[tests] Add an available feature that combines the triple and use_system_lib.
Daniel Dunbar
2013-02-05 21:43:30 +0000
81d1ef7a3f[tests] Add support for REQUIRES and XFAIL lines in libc++ tests.
Daniel Dunbar
2013-02-05 21:03:25 +0000
cccf25579a[tests] Add a 'use_system_lib' parameter.
Daniel Dunbar
2013-02-05 18:03:49 +0000
54e2fff2e1Saleem 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.
Howard Hinnant
2013-01-22 17:26:08 +0000
e0f0bfb5e6Saleem Abdulrasool: __terminate_handler and __unexpected_handler are defined but not used when building against libsupc++ as the functions for which they are used are provided by libsupc++. Simply preprocess them away when building against libsupc++.
Howard Hinnant
2013-01-22 14:48:10 +0000
7173a501bbSaleem Abdulrasool: Ensure that __GLIBCXX__ is defined when building with libsupc++.
Howard Hinnant
2013-01-22 14:44:06 +0000
7b9d6a8d40Implement the ATOMIC_*_LOCK_FREE macros.
Howard Hinnant
2013-01-21 20:39:41 +0000
78f0de22dbDonated anonymously: This enables GCC 4.8.0 to build libc++.
Howard Hinnant
2013-01-21 17:26:55 +0000
5ce391e336Make a few tests optimization-proof. These tests were failing under -O3 because the optimizer was eliminating the call to new.
Howard Hinnant
2013-01-16 17:56:06 +0000
0b93963db7Optimize basic_ostream::write by having it call sputn instead of sputc.
Howard Hinnant
2013-01-15 17:22:03 +0000
b05a55675fMake <cmath> classification macros work with integral types.
Howard Hinnant
2013-01-14 20:56:22 +0000
f619e230ccFix exception safety bug in vector::push_back
Howard Hinnant
2013-01-11 20:36:59 +0000
304c31b355Made test output iterators have value_type of 'void'; matches ones in library
Marshall Clow
2013-01-09 17:20:02 +0000
83e2c4d877Move common header files into a 'support' directory; make 'testit' include -I to that directory; rename 'iterators.h' to 'iterator_test.h'; remove hard-coded paths to include files from more than 350 source files
Marshall Clow
2013-01-05 03:21:01 +0000
6ae47055f9atomic_bool was missing (just a typedef to atomic<bool>).
Howard Hinnant
2013-01-04 18:58:50 +0000
8226d0b7c5...and then there was one. Only one copy of 'iterators.h' in the test tree for libc++
Marshall Clow
2013-01-04 18:24:04 +0000
239e341c94Removed another copy of 'iterators.h' files in libcxx/test
Marshall Clow
2013-01-03 03:57:56 +0000
ba1920fe4bRemoved several more different 'iterators.h' files in libcxx/test
Marshall Clow
2013-01-03 02:29:29 +0000
002a984948Removed 7 (of 8) different 'iterators.h' files in test/localization
Marshall Clow
2013-01-03 01:45:09 +0000
159b9ba4ceUpdating CREDITS.TXT
Howard Hinnant
2013-01-01 16:09:11 +0000
0e0bc1cfe8Update the copyright coredits -- Happy new year 2013!
NAKAMURA Takumi
2013-01-01 10:00:19 +0000
352bd3a273Klaas de Vries: Fix bug in libc++'s std::string::find_first_not_of.
Howard Hinnant
2012-12-31 20:09:48 +0000
db8a030bd3[CMake] Fix c++ abi library configuration on Linux.
Michael J. Spencer
2012-12-31 19:34:21 +0000
ed9f69d342Don't mark variadic functions as always inline -- they cannot in fact be inlined.
Chandler Carruth
2012-12-31 06:09:54 +0000
bbda4db0d5Add a simple .arcconfig to make using the 'arc' commandline tool and the phabricator code review site easier with libc++.
Chandler Carruth
2012-12-31 05:59:45 +0000
d1a7479763Remove test for eof from istreambuf_iterator constructors. It is no longer necessary and potentially violates the constructor's noexcept spec.
Howard Hinnant
2012-12-29 17:45:42 +0000
21772ec063Saleem Abdulrasool: GCC complains about the template functions as potentially not being able to be inlined. These do not need to be always-inlined for ABI stability because they are not exported beyond this source due to the unnamed namespace. Also simplified use of the Wmissing-field-initializers pragma as was done for clang.
Howard Hinnant
2012-12-28 18:15:01 +0000
2328902ab1Saleem Abdulrasool: Add entry to CREDITS.TXT.
Howard Hinnant
2012-12-27 23:26:52 +0000
5f767b7b28Saleem Abdulrasool: cleanup a few more compile warnings emitted by GCC.
Howard Hinnant
2012-12-27 23:24:31 +0000
b2f2b68143Implement std::is_base_of for the case where we don't have a compiler intrinsic. This relies upon the fact that overload resolution does not check access and ambiguity for a derived-to-base conversion. This passes all is_base_of tests in the test suite.
Richard Smith
2012-12-20 04:20:28 +0000
a46482e8bbAdded static_assert to std::get<N>(std::array) calls to catch "out of bounds" calls
Marshall Clow
2012-12-18 16:46:30 +0000
1b3775e38cMerging r170026: into the 3.2 release branch.
release_32
Pawel Wodnicki
2012-12-13 16:31:31 +0000
3d4f92c08aUpdated CREDITS.TXT
Howard Hinnant
2012-12-13 00:51:59 +0000
7fa77a701fModify testit to use the local headers and lib. Thanks go to Jeffrey Yasskin.
Howard Hinnant
2012-12-09 00:12:14 +0000
a358fbe504[CMake] Add support for selecting which c++ abi library to use.
Michael J. Spencer
2012-11-30 21:02:29 +0000
53008d8b0cRemove 'noreturn' attribute from friend declaration. This attribute will be inherited from the previous out-of-class declaration, and attributes on friend function declarations are ill-formed in C++11.
Richard Smith
2012-11-29 04:30:50 +0000
af01e708aatests/lit: Change test default parameters to assume local build. - Also, support overriding them with lit parameters.
Daniel Dunbar
2012-11-27 23:56:28 +0000
b0895ff8aeFix type-o.
Howard Hinnant
2012-11-27 18:52:32 +0000
641f6c1f65Remove by-chapter breakdown of what is implemented. The chart is now obsolete.
Howard Hinnant
2012-11-27 18:35:09 +0000
8a9c5ea750Dimitry Andric: When using libc++ headers on FreeBSD, in combination with -std=c++98, -ansi or -std=c++03, the long long type is not supported. So in this case, several functions and types, like lldiv_t, strtoll(), are not declared.
Howard Hinnant
2012-11-26 21:18:17 +0000
0919dbaab3Dimitry Andric: Silence some miscellaneous warnings.
Howard Hinnant
2012-11-06 21:55:44 +0000
9bae2a9dc5Dimitry Andric: Silence some warnings in <locale>.
Howard Hinnant
2012-11-06 21:48:33 +0000
9d5e9d3d66Enable the tuple interface of pair in C++03 mode.
Howard Hinnant
2012-11-06 21:42:45 +0000
22b781bf0cUpdate instructions for building and using libc++ on Mac OS
Howard Hinnant
2012-11-06 21:31:37 +0000
ff9267709dProvide 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.
Howard Hinnant
2012-11-06 21:08:48 +0000
73c85c7725peek should set eofbit if sgetc() returns eof.
Howard Hinnant
2012-11-01 17:32:07 +0000
4af2cf38f0Richard Smith: This fixes a problem in std::is_constructible for incomplete types, and those types with a user-defined operator,().
Howard Hinnant
2012-11-01 16:32:14 +0000
9c0df1416fRename uses of _ and __ because these are getting stepped on by macros from other system code.
Howard Hinnant
2012-10-30 19:06:59 +0000
eac2a01863Add an entry in CREDITS.TXT
Argyrios Kyrtzidis
2012-10-15 17:34:53 +0000
1c0be3864aUse traits_type::to_int_type in basic_streambuf<_CharT, _Traits>::xsputn when calling overflow to correctly handle negative signed character types. This fixes http://llvm.org/bugs/show_bug.cgi?id=14074.
Howard Hinnant
2012-10-13 19:31:51 +0000
999fc97ef2Dimitry Andric: FreeBSD only: Add the C11 aligned_alloc to <cstdlib> and adjust the inclusion of quick_exit.
Howard Hinnant
2012-10-13 18:03:53 +0000
1dc6f7ab97Don't neglect to "return *this".
Argyrios Kyrtzidis
2012-10-13 02:03:45 +0000
75536baae7Holger Arnold: Correct the use and testing of __GNUC__ and __GNUC_MINOR__ in <__config>.
Howard Hinnant
2012-10-03 20:48:05 +0000
95c0e9f9e1Make vector::iterator and string::iterator more resilient against overly generic relational operators.
Howard Hinnant
2012-10-02 19:45:42 +0000
155ff6e95aDue to a mistake on my own part, I need to burn some version numbers. This does not impact any of the implementation of libc++, and does not impact the ABI in any way.
Howard Hinnant
2012-09-28 17:42:25 +0000
8d36c432f2Bump _LIBCPP_VERSION to 1002
Howard Hinnant
2012-09-26 15:38:09 +0000
c25d158c62Apply the emulated nullptr_t with constexpr. This is an unusual configuration that would take advantage of this. But it has popped up in the wild and does no harm to support it.
Howard Hinnant
2012-09-24 23:36:40 +0000
a585de645cOverloaded __pad_and_output on ostreambuf_iterator and in this overload call sputn instead of dereferencing the iterator which calls sputc. This is intended to be purely a performance optimization, especially for clients who may have overloaded the virtual function xsputn.
Howard Hinnant
2012-09-19 19:14:15 +0000
7eb9f1e3a3Align <atomic> with clang r163964 which disallows const _Atomic types.
Howard Hinnant
2012-09-16 20:33:09 +0000
6cb977bf0cUpdate CREDITS.TXT
Howard Hinnant
2012-09-14 23:28:54 +0000
33be35effeDimitry Andric: many visibility fixes. Howard: Much appreciated. Can you send me a patch to CREDITS.TXT?
Howard Hinnant
2012-09-14 00:39:16 +0000
5c90cbad38Dimitry Andric: FreeBSD porting tweaks for PTHREAD_MUTEX_INITIALIZER and PTHREAD_COND_INITIALIZER
Howard Hinnant
2012-09-11 16:10:20 +0000
460b4caddeSome minor mingw64 porting tweaks from Glen.
Howard Hinnant
2012-09-03 18:13:11 +0000
cf115d2cc6Change sleep_for, sleep_until, and the condition_variable timed wait functions to protect against duration and time_point overflow. Since we're about to wait anyway, we can afford to spend a few more cycles on this checking. I purposefully did not treat the timed try_locks with overflow checking. This fixes http://llvm.org/bugs/show_bug.cgi?id=13721 . I'm unsure if the standard needs clarification in this area, or if this is simply QOI. The <chrono> facilities were never intended to overflow check, but just to not overflow if durations stayed within +/- 292 years.
Howard Hinnant
2012-08-30 19:14:33 +0000
c417a802edHyeon-bin Jeong: libc++ fails to create any classes inherit from basic_ios if they provided char type other than char or wchar_t. It throw exception during construction, so there is no chance to imbue own ctype.
Howard Hinnant
2012-08-26 18:05:35 +0000
70e441a9b0Update CREDITS.TXT
Howard Hinnant
2012-08-26 17:46:29 +0000
a5160283a4Michel Morin: My previous fix for C++03 was incomplete. It does not consider user-defined conversions that convert an rvalue into an lvalue and works incorrectly for types with such a conversion operator. For example,
Howard Hinnant
2012-08-25 15:06:50 +0000
d57de091c3Add Hyeon-bin Jeong to CREDITS.TXT
Howard Hinnant
2012-08-24 21:45:19 +0000
d305d3c1a2Hyeon-Bin Jeong: 1. sync() should reset it’s external buffer pointers. Remaining characters should be discarded once sync() called. If don’t, garbage characters can be inserted to the front of external buffer in underflow(). Because underflow() copies remaining characters in external buffer to it’s front. This results wrong characters insertion when seekpos() or seekoff() is called.
Howard Hinnant
2012-08-24 21:20:56 +0000
e7d59f2601Fixed order of calling use_facet vs setbuf in basic_filebuf default constructor.
Howard Hinnant
2012-08-24 18:06:47 +0000
8540d4c9d2basic_filebuf needs to delay obtaining a codecvt facet from the global locale to give the client a chance to imbue the proper locale. Fixes http://llvm.org/bugs/show_bug.cgi?id=13663.
Howard Hinnant
2012-08-24 16:52:47 +0000
08a0b48c09Fix a typo in the docs
Marshall Clow
2012-08-22 00:57:11 +0000
ffab05833fIn C++03 mode add an explicit conversion from int to the emulated class enum. Fixes a problem reported by C. Bergström.
Howard Hinnant
2012-08-19 17:14:47 +0000
96c60b482ePatch contributed by Dev Dude for mingw64 port.
Howard Hinnant
2012-08-19 15:13:16 +0000
a0852ffbe8Apply patches supplied by Michel Morin in http://llvm.org/bugs/show_bug.cgi?id=13601 to correct bugs in is_convertible for the case that the intrinsic __is_convertible_to is not available.
Howard Hinnant
2012-08-17 17:54:11 +0000
4ae952ab9aConsistently label __bit_array as a struct, not a class.
Howard Hinnant
2012-08-17 17:10:18 +0000
364e94575bRemove obsolete do-installhdrs target (again).
Howard Hinnant
2012-08-13 16:32:15 +0000
2a03b71f09Remove obsolete do-installhdrs target.
Howard Hinnant
2012-08-13 16:17:12 +0000