Commit Graph

  • fd329a445e [build] Detabify. Daniel Dunbar 2013-02-07 00:24:17 +00:00
  • b73568dc24 Marcin Zalewski: Change the name of a template parameter in __copy_backward from _InputIterator to _BidirectionalIterator to better document the intent of the algorithm. Howard Hinnant 2013-02-06 21:03:39 +00:00
  • 66a48c5ad5 Give a lot more timing latitude to some of the timing tests. Busy buildbots are hitting the timing limits too often. Howard Hinnant 2013-02-06 20:25:56 +00:00
  • 7fa0ca75e5 [tests] Infer the cxx_under_test (as clang++). Daniel Dunbar 2013-02-06 20:24:23 +00:00
  • 88dec1ef5c [tests] Change test default to run against locally built library. Daniel Dunbar 2013-02-06 17:47:08 +00:00
  • 6b8b9922f0 [tests] Enable use_system_lib support on Linux. - Patch by Michael van der Westhuizen. Daniel Dunbar 2013-02-06 17:45:53 +00:00
  • cedb7fcc10 [tests] One last batch of XFAILs, for tests using new symbols added to libc++. Daniel Dunbar 2013-02-06 00:59:06 +00:00
  • a38e2c9d1a [build] Create the link for the final library install name in the lib dir. Daniel Dunbar 2013-02-06 00:04:54 +00:00
  • 5f4841fb83 [tests] Accept XFAIL arguments that match any part of a feature. Daniel Dunbar 2013-02-06 00:04:52 +00:00
  • 43807c2fba [tests] XFAIL some locale tests that don't seem to work on any Darwin. Daniel Dunbar 2013-02-05 22:51:20 +00:00
  • 4cceb7a5e8 [tests] If no explicit target triple is given, try to infer it. Daniel Dunbar 2013-02-05 22:28:03 +00:00
  • 8b9eee35d8 [tests] Mark another stream input expected failure (with system libc++). Daniel Dunbar 2013-02-05 22:21:52 +00:00
  • 548d392d5d [tests] Mark another stream input expected failure (with system libc++). Daniel Dunbar 2013-02-05 22:10:28 +00:00
  • c8e1889601 [tests] Mark some string.conversions expected failures (with system libc++). Daniel Dunbar 2013-02-05 22:10:27 +00:00
  • edfb05351e [tests] XFAIL a few things that require libc (?) support missing on Darwin. Daniel Dunbar 2013-02-05 22:10:25 +00:00
  • aac8dd8331 [tests] Mark some istream.unformatted expected failures (with system libc++). Daniel Dunbar 2013-02-05 21:43:32 +00:00
  • a5b51964c1 [tests] Add an available feature that combines the triple and use_system_lib. Daniel Dunbar 2013-02-05 21:43:30 +00:00
  • 81d1ef7a3f [tests] Add support for REQUIRES and XFAIL lines in libc++ tests. Daniel Dunbar 2013-02-05 21:03:25 +00:00
  • cccf25579a [tests] Add a 'use_system_lib' parameter. Daniel Dunbar 2013-02-05 18:03:49 +00:00
  • 54e2fff2e1 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. Howard Hinnant 2013-01-22 17:26:08 +00:00
  • e0f0bfb5e6 Saleem 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 +00:00
  • 7173a501bb Saleem Abdulrasool: Ensure that __GLIBCXX__ is defined when building with libsupc++. Howard Hinnant 2013-01-22 14:44:06 +00:00
  • 7b9d6a8d40 Implement the ATOMIC_*_LOCK_FREE macros. Howard Hinnant 2013-01-21 20:39:41 +00:00
  • 78f0de22db Donated anonymously: This enables GCC 4.8.0 to build libc++. Howard Hinnant 2013-01-21 17:26:55 +00:00
  • 5ce391e336 Make 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 +00:00
  • 0b93963db7 Optimize basic_ostream::write by having it call sputn instead of sputc. Howard Hinnant 2013-01-15 17:22:03 +00:00
  • b05a55675f Make <cmath> classification macros work with integral types. Howard Hinnant 2013-01-14 20:56:22 +00:00
  • 1b031c947f Fix a race in the construction of future. This fixes http://llvm.org/bugs/show_bug.cgi?id=14934. Howard Hinnant 2013-01-14 20:01:24 +00:00
  • 3e3ae9ec41 Fix string conversions functions to throw out_of_range properly. Fixes http://llvm.org/bugs/show_bug.cgi?id=14919. Howard Hinnant 2013-01-14 18:59:43 +00:00
  • b4ebb0e415 Michael van der Westhuizen: Improve support for testing on Linux. Fixes http://llvm.org/bugs/show_bug.cgi?id=14892. Howard Hinnant 2013-01-14 17:12:54 +00:00
  • 750039f50c Michael van der Westhuizen: Patches for Linux. Fixes http://llvm.org/bugs/show_bug.cgi?id=14648. Howard Hinnant 2013-01-14 17:07:27 +00:00
  • f619e230cc Fix exception safety bug in vector::push_back Howard Hinnant 2013-01-11 20:36:59 +00:00
  • 304c31b355 Made test output iterators have value_type of 'void'; matches ones in library Marshall Clow 2013-01-09 17:20:02 +00:00
  • 83e2c4d877 Move 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 +00:00
  • 6ae47055f9 atomic_bool was missing (just a typedef to atomic<bool>). Howard Hinnant 2013-01-04 18:58:50 +00:00
  • 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 +00:00
  • 239e341c94 Removed another copy of 'iterators.h' files in libcxx/test Marshall Clow 2013-01-03 03:57:56 +00:00
  • ba1920fe4b Removed several more different 'iterators.h' files in libcxx/test Marshall Clow 2013-01-03 02:29:29 +00:00
  • 002a984948 Removed 7 (of 8) different 'iterators.h' files in test/localization Marshall Clow 2013-01-03 01:45:09 +00:00
  • 159b9ba4ce Updating CREDITS.TXT Howard Hinnant 2013-01-01 16:09:11 +00:00
  • 0e0bc1cfe8 Update the copyright coredits -- Happy new year 2013! NAKAMURA Takumi 2013-01-01 10:00:19 +00:00
  • 352bd3a273 Klaas de Vries: Fix bug in libc++'s std::string::find_first_not_of. Howard Hinnant 2012-12-31 20:09:48 +00:00
  • db8a030bd3 [CMake] Fix c++ abi library configuration on Linux. Michael J. Spencer 2012-12-31 19:34:21 +00:00
  • ed9f69d342 Don't mark variadic functions as always inline -- they cannot in fact be inlined. Chandler Carruth 2012-12-31 06:09:54 +00:00
  • bbda4db0d5 Add 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 +00:00
  • d1a7479763 Remove 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 +00:00
  • 21772ec063 Saleem 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 +00:00
  • 2328902ab1 Saleem Abdulrasool: Add entry to CREDITS.TXT. Howard Hinnant 2012-12-27 23:26:52 +00:00
  • 5f767b7b28 Saleem Abdulrasool: cleanup a few more compile warnings emitted by GCC. Howard Hinnant 2012-12-27 23:24:31 +00:00
  • bf68bdc4ed Saleem Abdulrasool: avoid hardcoding buffer lengths. Howard Hinnant 2012-12-27 21:17:53 +00:00
  • 0aa900e94f Saleem Abdulrasool: Silence warning and reduce unnecessary code in hash.cpp. Howard Hinnant 2012-12-27 18:59:05 +00:00
  • c6e54b964f Saleem Abdulrasool: This just rounds up a few compile warnings emitted by GCC (4.7.2). Howard Hinnant 2012-12-27 18:46:00 +00:00
  • 27c836ff3a Remove redundant inits. Patch by Eitan Adler. Chad Rosier 2012-12-22 00:12:05 +00:00
  • 3793a7d202 Test case for http://llvm.org/bugs/show_bug.cgi?id=14670. Howard Hinnant 2012-12-20 16:50:07 +00:00
  • ee717d8c44 Hyeon-Bin Jeong: readsome() need to reset gcount to zero. This fixes http://llvm.org/bugs/show_bug.cgi?id=14670. Howard Hinnant 2012-12-20 15:40:28 +00:00
  • b2f2b68143 Implement 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 +00:00
  • a46482e8bb Added static_assert to std::get<N>(std::array) calls to catch "out of bounds" calls Marshall Clow 2012-12-18 16:46:30 +00:00
  • 1b3775e38c Merging r170026: into the 3.2 release branch. release_32 Pawel Wodnicki 2012-12-13 16:31:31 +00:00
  • 3d4f92c08a Updated CREDITS.TXT Howard Hinnant 2012-12-13 00:51:59 +00:00
  • 0a69fa14d2 Zhang Xiongpang: Add definitions for const data members. Fixes http://llvm.org/bugs/show_bug.cgi?id=14585. Howard Hinnant 2012-12-12 21:14:28 +00:00
  • 7fa77a701f Modify testit to use the local headers and lib. Thanks go to Jeffrey Yasskin. Howard Hinnant 2012-12-09 00:12:14 +00:00
  • a358fbe504 [CMake] Add support for selecting which c++ abi library to use. Michael J. Spencer 2012-11-30 21:02:29 +00:00
  • 53008d8b0c Remove '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 +00:00
  • af01e708aa tests/lit: Change test default parameters to assume local build. - Also, support overriding them with lit parameters. Daniel Dunbar 2012-11-27 23:56:28 +00:00
  • b0895ff8ae Fix type-o. Howard Hinnant 2012-11-27 18:52:32 +00:00
  • 641f6c1f65 Remove by-chapter breakdown of what is implemented. The chart is now obsolete. Howard Hinnant 2012-11-27 18:35:09 +00:00
  • 8a9c5ea750 Dimitry 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 +00:00
  • 984f10fdc0 istreambuf_iterator increment should call sbumpc instead of snextc. Patch by Kimball Thurston. This fixes http://llvm.org/bugs/show_bug.cgi?id=14358. Howard Hinnant 2012-11-16 22:17:23 +00:00
  • 537b2fa6b8 Restrict optimized __pad_and_output implementation detail to desired releases. Howard Hinnant 2012-11-14 21:17:15 +00:00
  • faa17162e9 Change C++0x references to C++11, Fixes bug #12745 Marshall Clow 2012-11-14 16:31:15 +00:00
  • 864e2aaa4c 3.2 release branch r167706 Pawel Wodnicki 2012-11-12 04:17:58 +00:00
  • 0919dbaab3 Dimitry Andric: Silence some miscellaneous warnings. Howard Hinnant 2012-11-06 21:55:44 +00:00
  • 9bae2a9dc5 Dimitry Andric: Silence some warnings in <locale>. Howard Hinnant 2012-11-06 21:48:33 +00:00
  • 9d5e9d3d66 Enable the tuple interface of pair in C++03 mode. Howard Hinnant 2012-11-06 21:42:45 +00:00
  • 22b781bf0c Update instructions for building and using libc++ on Mac OS Howard Hinnant 2012-11-06 21:31:37 +00:00
  • ff9267709d 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. Howard Hinnant 2012-11-06 21:08:48 +00:00
  • 73c85c7725 peek should set eofbit if sgetc() returns eof. Howard Hinnant 2012-11-01 17:32:07 +00:00
  • 4af2cf38f0 Richard 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 +00:00
  • 9c0df1416f Rename uses of _ and __ because these are getting stepped on by macros from other system code. Howard Hinnant 2012-10-30 19:06:59 +00:00
  • eac2a01863 Add an entry in CREDITS.TXT Argyrios Kyrtzidis 2012-10-15 17:34:53 +00:00
  • 1c0be3864a Use 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 +00:00
  • 999fc97ef2 Dimitry 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 +00:00
  • 1dc6f7ab97 Don't neglect to "return *this". Argyrios Kyrtzidis 2012-10-13 02:03:45 +00:00
  • 75536baae7 Holger Arnold: Correct the use and testing of __GNUC__ and __GNUC_MINOR__ in <__config>. Howard Hinnant 2012-10-03 20:48:05 +00:00
  • 95c0e9f9e1 Make vector::iterator and string::iterator more resilient against overly generic relational operators. Howard Hinnant 2012-10-02 19:45:42 +00:00
  • 155ff6e95a Due 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 +00:00
  • 8d36c432f2 Bump _LIBCPP_VERSION to 1002 Howard Hinnant 2012-09-26 15:38:09 +00:00
  • c25d158c62 Apply 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 +00:00
  • c004e2e7d7 Updating email address Marshall Clow 2012-09-24 14:27:10 +00:00
  • 3c6fefdf44 Fix installheaders target to do what it did prior to r161760. rdar://12348765 Bob Wilson 2012-09-21 20:49:54 +00:00
  • 2d3f4ee99f Add overflow check to tanh(complex) and reduce to finite answer. Fixes http://llvm.org/bugs/show_bug.cgi?id=13874 Howard Hinnant 2012-09-19 23:51:47 +00:00
  • a585de645c Overloaded __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 +00:00
  • 7eb9f1e3a3 Align <atomic> with clang r163964 which disallows const _Atomic types. Howard Hinnant 2012-09-16 20:33:09 +00:00
  • 6cb977bf0c Update CREDITS.TXT Howard Hinnant 2012-09-14 23:28:54 +00:00
  • 33be35effe Dimitry Andric: many visibility fixes. Howard: Much appreciated. Can you send me a patch to CREDITS.TXT? Howard Hinnant 2012-09-14 00:39:16 +00:00
  • 5c90cbad38 Dimitry Andric: FreeBSD porting tweaks for PTHREAD_MUTEX_INITIALIZER and PTHREAD_COND_INITIALIZER Howard Hinnant 2012-09-11 16:10:20 +00:00
  • 460b4cadde Some minor mingw64 porting tweaks from Glen. Howard Hinnant 2012-09-03 18:13:11 +00:00
  • cf115d2cc6 Change 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 +00:00
  • c417a802ed Hyeon-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 +00:00
  • 70e441a9b0 Update CREDITS.TXT Howard Hinnant 2012-08-26 17:46:29 +00:00