Commit Graph

  • 71e699dda5 Fix for PR17606 - result_of (and INVOKE) works incorrectly for member function pointers with ref qualifiers. Also a drive-by fix for common_type in C++03 mode. Thanks to Michel Morin for the bug report and the proposed fix. Marshall Clow 2014-02-10 17:40:28 +0000
  • ebfc50ee89 Fix for PR18735 - self-assignment for map/multimap gives incorrect results in C++03 Marshall Clow 2014-02-08 04:03:14 +0000
  • cf7278afd7 Avoid signed vs unsigned compare warnings. From Dimitry Andric. Joerg Sonnenberger 2014-02-07 21:14:29 +0000
  • a3dc8f3b8b Support forward_list<Incomplete Type>. Patch by Zhihao Yuan! Peter Collingbourne 2014-02-05 01:44:17 +0000
  • 08356fbee7 Albert Wong: Fix thread.thread.id/lt.pass.cpp to not assume thread::id() produces a minimal value. This enables this test to pass on andriod arm. Howard Hinnant 2014-02-04 19:51:48 +0000
  • 13fbe9d5e3 Fix numeric.limits.members/traps.pass.cpp to pass on non-x86 architectures. Fixes bug #18468 Marshall Clow 2014-02-03 23:26:56 +0000
  • e1678a18d9 Remove default function template argument from the header. Logan Chien 2014-01-31 09:30:46 +0000
  • a612c62740 lit.site.cfg:cxx_under_test should take precedence over 'which clang++' (reviewed by Marshall Clow) David Fang 2014-01-29 01:54:52 +0000
  • 28754d0378 Removed extra line that I left in when committing 199694. Thanks to Jared Grubb for the catch. Marshall Clow 2014-01-26 01:59:59 +0000
  • 708dd84a4e Rename some internal templates to avoid conflict with complier intrinsics. __is_constructible --> __libcpp_is_constructible, __is_nothrow_constructible --> __libcpp_is_nothrow_constructible, and __is_nothrow_assignable --> __libcpp_is_nothrow_assignable. No functionality change. Marshall Clow 2014-01-24 15:27:41 +0000
  • a4c0d87a84 Const qualify __mem_fn call operator Peter Collingbourne 2014-01-22 22:56:52 +0000
  • 15066f21f1 Removed extra space; thanks to thakis_'s eagle eye Marshall Clow 2014-01-21 00:03:44 +0000
  • 1a383b9755 Fixed test failure in is_iec559.pass.cpp on darwin-ppc32. Thanks to David Fang for the report (and suggested fix) Marshall Clow 2014-01-20 23:57:16 +0000
  • e3c9d52d6d Fix erroneous test; was failing on darwin-ppc32. Fixes PR18469. Marshall Clow 2014-01-18 03:41:54 +0000
  • 97f50f6c5e Update __parse_DUP_COUNT and __parse_BACKREF to use the traits class to recognize digits. Fixes PR18514 Marshall Clow 2014-01-18 03:40:03 +0000
  • 63fbfd6883 Adjust build fix from r199494 to use C++ casts Alp Toker 2014-01-17 16:17:24 +0000
  • 5f58b89ecd Build fix for gcc builtin Alp Toker 2014-01-17 14:24:23 +0000
  • 98760c18f8 Add license headers to a bunch of libc++ files that were missing them. No functionality change. Fixes 18291. Thanks to Nico for the bug report and the patch. Marshall Clow 2014-01-16 16:58:45 +0000
  • beee5e48b3 Apply patch for Albert Wong: 'Modify testit to allow filtering tests by prefixes'. Marshall Clow 2014-01-15 16:28:42 +0000
  • 928bb68bb2 Whoops! Set the default in the last commit to c++1y instead of c++11 Marshall Clow 2014-01-14 17:04:06 +0000
  • 2f78c0d9f9 Update lib/buildit and test/testit to both pay attention to an env flag CXX_LANG, which people can set to 'c++03', 'c++11' or 'c++1y' to build/test using that language variant. If you don't set this env variable, you get c++11, just like today. Drive-by fix; remove duplicate -nostdinc++. Marshall Clow 2014-01-14 17:00:40 +0000
  • 8896ac3cdd Rename libc++ internal templates __is_void, __is_integral, __is_floating_point, __is_pointer, __is_function_imp, __is_function, __is_member_function_pointer, __is_member_pointer, __is_signed_impl, __is_signed, __is_unsigned_impl, __is_unsigned to __libcpp_is_XXX, because some compilers have decided that __is_XXX are keywords. No functionality change. Marshall Clow 2014-01-14 05:13:45 +0000
  • 72fe0ae7cf Fix a bug in regex_token_iterator's copy constructor. Caught by Bob Wilson. Marshall Clow 2014-01-13 17:47:08 +0000
  • 0efd9dcfa0 Fix PR18404 - 'Bug in regex_token_iterator::operator++(int) implementation'. Enhance the tests for regex_token_iterator and regex_iterator. Marshall Clow 2014-01-09 18:25:57 +0000
  • 4a07e0e159 Replace casts of __impl_ with the correct reinterpret_cast of the address. Restores the assembly of before r198504. Joerg Sonnenberger 2014-01-07 19:21:13 +0000
  • 908b5d7f92 Back out the <type_traits> changes from r198431; they were breaking when building with glibc. Need to find a better solution for PR18218. Marshall Clow 2014-01-06 18:12:50 +0000
  • af6cd294aa Removed extra trailing underscore in #ifdef (__GNUC___ --> __GNUC__ ) Marshall Clow 2014-01-06 15:23:02 +0000
  • 0ea7f8cfb3 Rename several internal templates to get rid of ___ (triple underscores) or worse, four. No functionality change. Marshall Clow 2014-01-06 14:00:09 +0000
  • 4c6acb5ecd Switch to using C++ style casts. Joerg Sonnenberger 2014-01-04 17:43:00 +0000
  • 6c27250223 80 cols fixes. Yaron Keren 2014-01-04 09:27:39 +0000
  • c8d1bbab02 Implement the functions: clz, clzl, clzll, ctz, ctzl, and ctzll for libcxx when compiled with Visual C++ on Win32 and Win64. Yaron Keren 2014-01-04 08:56:00 +0000
  • a71f9562f0 Rename ___make_pair_return to __make_pair_return_impl; ___make_tuple_return to __make_tuple_return_impl; and ____iterator_traits to __iterator_traits_impl. Part of a campaign to remove > 2 underscores from libc++. No functionality change. Marshall Clow 2014-01-03 22:55:49 +0000
  • 854a7a02b4 Patch by Howard. First part of fix for PR18218; add type traits needed to do the right thing. Fix the problems in PR18218 for isnan and pow - they also need to be applied to the other functions in <cmath>. Also, a drive-by fix for the test - now actually calls test_abs() Marshall Clow 2014-01-03 18:21:14 +0000
  • 3f44c407b6 Update the copyright credits -- Happy new year 2014! NAKAMURA Takumi 2014-01-01 08:27:31 +0000
  • 532b0b423c Merging r197314: ------------------------------------------------------------------------ r197314 | logan | 2013-12-13 22:45:09 -0800 (Fri, 13 Dec 2013) | 9 lines Bill Wendling 2013-12-28 07:40:58 +0000
  • f0ff9d61fa Creating release candidate final from release_34 branch Bill Wendling 2013-12-24 06:54:09 +0000
  • 6fdfa19b41 Remove libcxx final tag for retagging Bill Wendling 2013-12-24 06:52:52 +0000
  • 78778a413f Creating release candidate final from release_34 branch Bill Wendling 2013-12-24 06:31:58 +0000
  • 239bc42b53 Make cv_status a class enum. Fixes PR18314. Thanks to Andersca for the report and the patch. Marshall Clow 2013-12-23 22:14:27 +0000
  • f1ebe26bdb Empty line between two unrelated #ifdefs. Yaron Keren 2013-12-20 13:19:45 +0000
  • 3bbda48d84 Creating release candidate rc3 from release_34 branch Bill Wendling 2013-12-17 06:21:41 +0000
  • 8f48c23568 Fix GCC unknown pragma warning in libc++. Logan Chien 2013-12-14 06:45:09 +0000
  • bfd68bf0c7 GCC does not support strong enum in pre-C++0x mode. Logan Chien 2013-12-14 06:44:09 +0000
  • 8070ded699 Merging r197061: ------------------------------------------------------------------------ r197061 | marshall | 2013-12-11 11:32:32 -0800 (Wed, 11 Dec 2013) | 1 line Bill Wendling 2013-12-12 07:07:15 +0000
  • 59a3ba57d0 Merging r196058: ------------------------------------------------------------------------ r196058 | marshall | 2013-12-01 19:24:33 -0800 (Sun, 01 Dec 2013) | 1 line Bill Wendling 2013-12-12 07:06:59 +0000
  • 1c398696b0 Move std::begin(array) and std::end(array) out from under an #ifdef that was preventing people from building libc++ using gcc. This corrects a mistake that I introduced in r196058 Marshall Clow 2013-12-11 19:32:32 +0000
  • e356070e1a Merging r-196058: ------------------------------------------------------------------------ r196058 | marshall | 2013-12-01 19:24:33 -0800 (Sun, 01 Dec 2013) | 1 line Bill Wendling 2013-12-11 07:25:36 +0000
  • 73b46a7248 Refactored a bunch of duplicated code in <ostream>. Made a new routine called __put_character_sequence, and made nine places call it. Marshall Clow 2013-12-10 19:25:49 +0000
  • b671fc9b2d Refactor some of the operations in <string> so that they can be reused; no functionality change Marshall Clow 2013-12-09 16:00:28 +0000
  • 615100223e Give all members of exception types default visibility. Lack of this is causing some illegal code relocations rare and hard to reproduce cases. Howard Hinnant 2013-12-04 21:03:23 +0000
  • 390e25e9f0 Creating release candidate rc2 from release_34 branch Bill Wendling 2013-12-03 07:44:55 +0000
  • 9ec207e710 Recreating release candidate rc2 Bill Wendling 2013-12-03 07:44:50 +0000
  • ad8be89bc1 Creating release candidate rc2 from release_34 branch Bill Wendling 2013-12-03 07:15:26 +0000
  • 1b92188a82 Found six (nmostly) identical files named 'test_allocator.h' in the libcxx test suite. Moved one to /support, made it a superset, and removed all but one of the others, and iupdated all the includes. Left the odd one (thread/futures/test_allocator.h) for later. Marshall Clow 2013-12-03 00:18:10 +0000
  • ebedffde9a Found two identical files named 'allocators.h' in the libcxx test suite. Moved one to /support, removed the other, and iupdated all the includes. No functionality change Marshall Clow 2013-12-02 18:08:31 +0000
  • e27dbcf2dc Found two identical files named 'DefaultOnly.h' in the libcxx test suite. Moved one to /support, removed the other, and iupdated all the includes. No functionality change Marshall Clow 2013-12-02 17:00:56 +0000
  • 971d716332 Merging r196058: ------------------------------------------------------------------------ r196058 | marshall | 2013-12-01 19:24:33 -0800 (Sun, 01 Dec 2013) | 1 line Bill Wendling 2013-12-02 07:41:26 +0000
  • 6daf534441 Fix for PRPR17934; based on a fix suggested by Peter Sommerlad Marshall Clow 2013-12-02 03:24:33 +0000
  • a7d46056b0 Remove executable permissions on a text file Sylvestre Ledru 2013-12-01 10:15:11 +0000
  • 92b327712b Remove _LIBCPP_TRIVIAL_PAIR_COPY_CTOR=0 for __APPLE__, no longer needed. Howard Hinnant 2013-11-27 00:53:02 +0000
  • 061d0cc4db There were two identical files named 'min_allocator.h'. Move one of them to /support and delete the other. Then adjust all the tests that used them to include the moved one. No functionality change. Marshall Clow 2013-11-26 20:58:02 +0000
  • efe0484110 Merging r195693: ------------------------------------------------------------------------ r195693 | joerg | 2013-11-25 14:44:20 -0800 (Mon, 25 Nov 2013) | 3 lines Bill Wendling 2013-11-26 10:55:08 +0000
  • bfaafd539c Don't use T as template argument, it is part of the application namespace. Joerg Sonnenberger 2013-11-25 22:44:20 +0000
  • 306553d2b0 Merging r195136: ------------------------------------------------------------------------ r195136 | marshall | 2013-11-19 10:05:03 -0800 (Tue, 19 Nov 2013) | 1 line Bill Wendling 2013-11-25 07:41:30 +0000
  • 37d0212c57 Compiling libcxx with gcc 4.6.4 (MingW) produces these errors: Yaron Keren 2013-11-22 09:22:12 +0000
  • f01e998923 Merging r195143: ------------------------------------------------------------------------ r195143 | marshall | 2013-11-19 11:14:27 -0800 (Tue, 19 Nov 2013) | 1 line Bill Wendling 2013-11-20 06:40:42 +0000
  • ffb55273a5 Creating release candidate rc1 from release_34 branch Bill Wendling 2013-11-20 05:00:44 +0000
  • 7029612131 Creating release directory for release_34. Bill Wendling 2013-11-20 05:00:39 +0000
  • 016d4e847a Patch by Xing Xue to improve libc++ support for AIX Marshall Clow 2013-11-19 19:16:03 +0000
  • 16c76a2107 Fix a test that I broke over the weekend Marshall Clow 2013-11-19 19:14:27 +0000
  • 2ccffefaff Patch by Bruce Mitchener. Change all references to EMSCRIPTEN to __EMSCRIPTEN__. If you're not using the PP symbol EMSCRIPTEN, then you should see no functionality change. Marshall Clow 2013-11-19 18:05:03 +0000
  • ea97ae3eed Creating release_34 branch Bill Wendling 2013-11-19 02:57:35 +0000
  • 81241a9440 G M suggestion: conditionally include files on _WIN32. Yaron Keren 2013-11-18 21:30:19 +0000
  • 15c04bedad This patch implements snprintf_l function in a way similar to the other functions in src/support/win32/locale_win32.cpp and locale_win32.h, calling upon vsnprintf for which there is a MingW correct alternative. Yaron Keren 2013-11-18 21:12:14 +0000
  • 35080eae90 Set the permissions for 'experimental' and its context to the correct values. Bill Wendling 2013-11-18 07:01:16 +0000
  • 1823bea43a Fix-it suggestion for fixing min or max defines on Windows. Yaron Keren 2013-11-15 23:41:01 +0000
  • c26c385592 Windows.h is not required. Yaron Keren 2013-11-15 22:54:15 +0000
  • 0cdbe60481 Move <optional> into include/experimental, and into the std::experimental namespace, since it's not part of C++14, but of an upcoming TS Marshall Clow 2013-11-15 22:42:10 +0000
  • ec5714f27a Add the CMakeLists.txt that was missed in r194825 Justin Bogner 2013-11-15 18:34:43 +0000
  • c4962b3f44 Justin Bogner: This makes the headers available in the build directory, making it easier to use freshly-built clang with freshly-built libc++. Howard Hinnant 2013-11-15 17:18:57 +0000
  • 65173fee34 This is a followup to r194536, which changed the pair copy constructor to be trivial in C++03, thus making it trivial in both C++03 and C++11. Howard Hinnant 2013-11-14 22:52:25 +0000
  • 0c6a583e2a Fixed bug in quoted strings implementation. Added test to be sure. Thanks to Peter Sommerlad for the report (and suggested fix) Marshall Clow 2013-11-14 20:01:38 +0000
  • 6b7c2aeb00 Move <dynarray> into include/experimental, and into the std::experimental namespace, since it's not part of C++14, but of an upcoming TS Marshall Clow 2013-11-13 22:44:48 +0000
  • 525a0fb982 Add directory for TSes, etc Marshall Clow 2013-11-13 18:25:56 +0000
  • 3f81e9eeba This fixes a very subtle ABI problem concerning the copy constructor of pair, and a couple of pair-like implementation detail types. The C++98/03 and 11 standards all specify that the copy constructor of pair<int, int> is trivial. However as libc++ tracked the draft C++11 standard over the years, this copy constructor became non-trivial, and then just recently was corrected back to trivial for C++11. Howard Hinnant 2013-11-13 00:39:22 +0000
  • a46a0ad9e5 Patch from Bruce Mitchener; fixes two typos in comments. No functionality change. PR17843 Marshall Clow 2013-11-11 23:27:19 +0000
  • 29250b7ec8 Tell libc++abi whether or not libc++ has declared bad_array_length. Howard Hinnant 2013-11-07 17:15:51 +0000
  • fe2a561fca More duplicate code removal in <locale>. Hoist common parsing code into two templates: num_get::__do_get_signed and num_get::__do_get_unsigned, and make the do_get routines call them. No functionality change. Marshall Clow 2013-11-07 01:00:50 +0000
  • 3de5086dc7 Fix several tuple bugs that were exposed by clang's implementation of CWG 1402. This fixes http://llvm.org/bugs/show_bug.cgi?id=17798. Howard Hinnant 2013-11-06 17:45:43 +0000
  • ecc8d7b334 Fix an off-by-one error in basic_string::__grow_by, where it would incorrectly throw length_error (instead of bad_alloc) when attempting to resize the string to 'max_size()'. Add tests for resizing to max_size +/-1 Marshall Clow 2013-11-06 14:24:38 +0000
  • 5ffe591d55 Refactor floating point code for num_get::do_get into a template. No functionality change Marshall Clow 2013-11-05 14:28:52 +0000
  • 3b3108ec59 Better inline marking for __does_policy_contain. Thanks to Chongyu Zhu for the catch Marshall Clow 2013-11-03 22:06:53 +0000
  • d8a8f57387 Mark __does_policy_contain as 'inline'. Thanks to Chongyu Zhu for the catch Marshall Clow 2013-11-03 20:07:47 +0000
  • ad2a600c2a Fix LWG Issue 2078. Make std::async(policy,...) try multiple policies until one succeeds. Marshall Clow 2013-11-03 15:43:35 +0000
  • 76a8670ce4 LWG issue 2341; Make the two variants of basic_ostream::seekp and basic_istream::seekg behave consistently; update tests to make sure Marshall Clow 2013-10-31 22:20:45 +0000
  • 09f8550e1c Fixes PR17148 Marshall Clow 2013-10-31 17:23:08 +0000
  • 4259337da2 Update status of issues Marshall Clow 2013-10-23 05:59:18 +0000
  • 65ccddb341 Mark seed_seq default constructor and size() as noexcept. This is implied, but not required by LWG issue 2180 Marshall Clow 2013-10-23 05:56:47 +0000
  • 0f7afe7b8e Patch by GM: Turn off 'deprecated' warnings when building with MSVC, and add '-Werror=return-type' to catch funtions that aren't returning what they should. Marshall Clow 2013-10-21 15:56:35 +0000
  • 33ae2337e2 Patch by GM: apparently '__value' (two underscores) is a special name in Visual Studio, so rename the private method in <regex> with that name. GM's patch used '___value' (three underscores), but I changed that to '__regex_traits_value' because I've been burned in the past by identifiers that appear identical but are not. Marshall Clow 2013-10-21 15:43:25 +0000