Commit Graph

  • 7efdd69688 Set the libc++ version # to 3.7. Will bump to 3.8 soon Marshall Clow 2015-07-16 17:22:24 +00:00
  • cd6ed54fed Make sure that __libcpp_compressed_pair_imp default-constructs its' members, rather than value-initializing them. Fixes PR#24137 Marshall Clow 2015-07-16 03:05:06 +00:00
  • 73f131f210 Mark two tests as failing on clang 3.8 (they failed on 3.7, too) Marshall Clow 2015-07-16 02:44:33 +00:00
  • 83de1012a9 Remove non-ascii characters Eric Fiselier 2015-07-14 20:45:48 +00:00
  • 22dff5382a Implement n4169 - Add invoke function template Eric Fiselier 2015-07-14 20:16:15 +00:00
  • 92679178a5 Mark LWG2308 as complete; fix link. No code change necessary. Marshall Clow 2015-07-14 20:07:45 +00:00
  • 26edd804ba Fix PR24114 - std::atomic for non-Clang is not a literal type Eric Fiselier 2015-07-14 17:50:27 +00:00
  • 119ed47999 Move bits from N4258. Mark vector's move-constructor unconditionally noexcept in C++1z Marshall Clow 2015-07-14 14:46:32 +00:00
  • 7d914d1bff 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. Marshall Clow 2015-07-13 20:04:56 +00:00
  • f301a117e1 [libcxx] LWG2420 bits for bind<void> - Patch from K-Ballo Eric Fiselier 2015-07-10 23:29:18 +00:00
  • 8f7fe5cd8e Use __is_identifier to detect __decltype and not the clang version. Eric Fiselier 2015-07-10 20:26:38 +00:00
  • 4f55ef701a Fix error string in test suite Eric Fiselier 2015-07-08 23:10:20 +00:00
  • 0ce05a9f86 The rest of N4279 and LWG#2464 - for unordered_map Marshall Clow 2015-07-07 05:45:35 +00:00
  • f3a1a187a1 Implement N4279 and LWG#2664 for <map>. Reviewed as http://reviews.llvm.org/D10669 Marshall Clow 2015-07-07 03:37:33 +00:00
  • c6e466911f [libcxx] Add atomic_support.h header to src that handles needed atomic operations. Eric Fiselier 2015-07-07 00:27:16 +00:00
  • faaf5ee349 Automatically detect and use clang verify in failure tests. Eric Fiselier 2015-07-06 19:56:45 +00:00
  • 0c5dd15e09 Mark LWG#2420 as complete. Eric did this in r228705. Marshall Clow 2015-07-06 19:36:44 +00:00
  • 7c1ebcf6fd Make locale code compile on CloudABI. Ed Schouten 2015-07-06 15:39:36 +00:00
  • 9e97eb890c Cleanup: prefer _LIBCPP_GET_C_LOCALE over __cloc(). Ed Schouten 2015-07-06 15:37:40 +00:00
  • b81d6f5b8d Noticed that std::allocator<const T> was missing the definition for is_always_equal. Fixed this, and added a test for it. Marshall Clow 2015-07-01 21:23:40 +00:00
  • 5a426e50d0 Mark N4508, LWG#2407, and LWG#2470 as complete. I don't see that 2470 requires any changes to the library. Marshall Clow 2015-06-30 20:06:00 +00:00
  • 5706c375d5 K-ballo pointed out that I missed one of the specializations of packaged_task when I committed r241068. Thanks for the catch. Marshall Clow 2015-06-30 18:28:35 +00:00
  • 933bf68f0a Forgot the support include file in r241091 Marshall Clow 2015-06-30 18:16:12 +00:00
  • 58113db00c Add tests for LWG#2299. While doing so, I noticed that the tests we have for the transparent comparators don't actually call them. Fix those tests, too. Now one of them is failing, due to a missing const in <map>. Add that (twice). Next step is to do the same for <unordered_map> Marshall Clow 2015-06-30 18:15:41 +00:00
  • 07546f3b93 Implement LWG#2407: 'packaged_task(allocator_arg_t, const Allocator&, F&&) should neither be constrained nor explicit' Marshall Clow 2015-06-30 14:16:49 +00:00
  • abadb458d0 Implement N4508: shared_mutex. Reviewed as http://reviews.llvm.org/D10480 Marshall Clow 2015-06-30 14:04:14 +00:00
  • f3c8fb22ec Mark LWG#2266 as complete. This is a tightening up the wording; no code changes required. Marshall Clow 2015-06-30 13:32:08 +00:00
  • 715339ab55 Mark LWG#2439 as complete. This is a tightening up the wording; no code changes required. Marshall Clow 2015-06-29 22:27:30 +00:00
  • 323ade3e70 Make support for thread-unsafe C functions optional. Ed Schouten 2015-06-24 08:44:38 +00:00
  • 4428584a88 Mark a couple of features as 'in progress' Marshall Clow 2015-06-23 20:48:55 +00:00
  • 8c42c8cb46 When building libc++, we use '"' as a delimiter instead of '<' when including libc++ header files. This is so that the dylib gets built with our headers; rather than the system-installed ones. We do this in most places already, just fixing a couple of inconsistent uses. Marshall Clow 2015-06-23 14:45:02 +00:00
  • 1224e8972b Make seeking on an ostream that has eofbit set work correctly. Fixes PR#21361 Marshall Clow 2015-06-22 15:01:21 +00:00
  • 46d06b90c1 Fix illegal chars that snuck into <memory> Marshall Clow 2015-06-19 19:32:06 +00:00
  • cb126215aa Fix ASAN bot; missing bookkeeping in r240136. Marshall Clow 2015-06-19 17:13:59 +00:00
  • c41133728d Fix PR#18843. Thanks to Howard for the fix Marshall Clow 2015-06-19 15:54:13 +00:00
  • 3d08766099 Delete dead code. NFCI Jonathan Roelofs 2015-06-17 23:31:45 +00:00
  • b05f0599c0 Fix std::function allocator constructors in C++03. Eric Fiselier 2015-06-14 23:30:09 +00:00
  • 4983580dc5 Cleanup result_of tests and fix issues with the C++03 result_of. Eric Fiselier 2015-06-13 08:25:24 +00:00
  • 6f08111102 Remove warnings about old CMake options Eric Fiselier 2015-06-13 07:31:55 +00:00
  • fdae69aa13 Fix PR12999 - unordered_set::insert calls operator new when no insert occurs Eric Fiselier 2015-06-13 07:18:32 +00:00
  • 3a0e430cd4 [libcxx] Fix detection of __is_final. Eric Fiselier 2015-06-13 07:08:02 +00:00
  • 6d7a2cb57d [libcxx] Use __decltype instead of __typeof__ Eric Fiselier 2015-06-13 06:27:17 +00:00
  • b7fc49f828 Make __void_t unary and always provide it. Eric Fiselier 2015-06-13 02:36:07 +00:00
  • bc1e44d14e LWG2442: call_once() shouldn't DECAY_COPY(). Patch from K-Ballo. Eric Fiselier 2015-06-13 02:23:00 +00:00
  • eeeada1c77 Enable __is_trivially* intrinsics for GCC 5.1 Eric Fiselier 2015-06-13 02:18:44 +00:00
  • 724b5ab350 Refactor is_member_function_pointer to use is_function and not __member_function_traits. Eric Fiselier 2015-06-13 00:33:13 +00:00
  • 7726a348df Prevent dependancy on libatomic when using GCC to provide <atomic>. Eric Fiselier 2015-06-13 00:23:07 +00:00
  • 56a599b976 Fix PR23293 - Do not unlock shared state before notifying consumers. Eric Fiselier 2015-06-12 00:41:34 +00:00
  • f54ca46a7b Change #ifdefs in test to UNSUPPORTED. No functionality change in the tests Marshall Clow 2015-06-11 21:47:39 +00:00
  • 4356f6392e Fix PR#23767. Add tests for iterator invalidation for deque::erase/pop_front/pop_back Marshall Clow 2015-06-05 22:34:19 +00:00
  • 64c6248499 Avoid C-style cast. Joerg Sonnenberger 2015-06-05 15:54:26 +00:00
  • c912c0ce7c While applying N4258, I forgot about LWG#2455, which modified the modifications. Correct those - h/t: Howard Marshall Clow 2015-06-04 02:05:41 +00:00
  • 127db91f3e More N4258 changes. This time vector's constructors Marshall Clow 2015-06-04 00:10:20 +00:00
  • 7b193f7797 More of N4258 implementation. Mark all of our test_allocators as noexcept constructible. Make the constructors for basic_string noexcept all the time (under C++14). Update tests to reflect the new world order. More to come. Marshall Clow 2015-06-03 19:56:43 +00:00
  • bbf87b1c34 Add 'is_always_equal' tests for scoped_allocator. Found that I had typed '||' where I meant '&&' in the code; fixed that, too Marshall Clow 2015-06-03 16:15:55 +00:00
  • b957bac1da Revert changes inadvertantly committed Marshall Clow 2015-06-02 22:26:29 +00:00
  • 22f6c0532d Move uncaught_exeption() definition inside the #ifdef block like uncaught_exceptions() Marshall Clow 2015-06-02 22:25:23 +00:00
  • c2a3137671 Fix breakage that I introduced in r238848 Marshall Clow 2015-06-02 21:40:58 +00:00
  • f0324bcaa1 Implement the first part of N4258 - allocator_traits<X>::is_always_equal. Also fixes PR#23723 Marshall Clow 2015-06-02 16:34:03 +00:00
  • 8731c5da46 Implement uncaught_exceptions() using the newly added hooks in libc++abi, when available Marshall Clow 2015-06-02 15:33:38 +00:00
  • 708b86b5f9 Fix some places where we could call memmove(null,xxx,0) - which is UB Marshall Clow 2015-06-02 13:52:16 +00:00
  • 56523ff60e In the case where we are copying/moving zero elements, do less work Marshall Clow 2015-06-02 13:04:18 +00:00
  • fa97c2e8bc Add missing return statements in C++03 std::function Eric Fiselier 2015-06-02 01:31:33 +00:00
  • c4324b2b94 Add TODO items and remove use of 'noexcept' in C++03 test. Eric Fiselier 2015-06-02 01:25:34 +00:00
  • ebc31694e8 Remove debugging code Marshall Clow 2015-05-31 14:01:54 +00:00
  • bf0460e0a0 Don't try to memcpy zero bytes; sometimes the source pointer is NULL, and that's UB. Thanks to Nuno Lopes for the catch. Marshall Clow 2015-05-31 03:13:31 +00:00
  • 0620fc865b Add TODO note about switching to __decltype Eric Fiselier 2015-05-29 23:21:03 +00:00
  • 60784f62de Fix PR#23647 - make_shared<volatile bool> - second try Marshall Clow 2015-05-27 22:44:47 +00:00
  • fc3a3ffc69 Revert 238354 while I figure out what broke in weak_ptr Marshall Clow 2015-05-27 20:36:14 +00:00
  • 83f8153b22 Fix PR#23647 - make_shared<volatile bool> Marshall Clow 2015-05-27 20:15:33 +00:00
  • 14c616af09 Add N4259 to the list of papers from Lenexa. Update links to point at public repos. Marshall Clow 2015-05-27 17:19:40 +00:00
  • 970d9f7768 Get thread sleep_for test passing in C++03 Eric Fiselier 2015-05-27 01:09:51 +00:00
  • 2cd0a2e4e7 Mark __convert_to_integral test as XFAIL in c++03 Eric Fiselier 2015-05-27 01:02:51 +00:00
  • ee6bfb2117 Cleanup move/forward tests and remove references to __rv. Eric Fiselier 2015-05-27 00:51:08 +00:00
  • 8f1d85fde5 Add test macros header to remove dependance on __config macros. Eric Fiselier 2015-05-27 00:28:30 +00:00
  • 7242d18811 Fix broken test I just added Marshall Clow 2015-05-26 19:17:09 +00:00
  • b5b66923e3 Add tests to ensure that string/vector/array have contiguous iterators - which they did. Mark N4284 as complete Marshall Clow 2015-05-26 18:57:27 +00:00
  • ecec10efd9 Mark N4366 as complete. libc++ has done this since 2012 Marshall Clow 2015-05-26 14:58:05 +00:00
  • 97092d6a5c Add TODO items Eric Fiselier 2015-05-22 02:23:22 +00:00
  • 19158f2fa1 Start a to-do list for libc++ Marshall Clow 2015-05-20 17:39:54 +00:00
  • bae11add65 Fix building and testing libc++ with GCC. Eric Fiselier 2015-05-20 03:15:01 +00:00
  • 1a7ccb14e8 Fix race condition in thread test. Eric Fiselier 2015-05-19 23:41:04 +00:00
  • 5d663441e7 Address @danalberts comments on r237700 Eric Fiselier 2015-05-19 23:10:32 +00:00
  • d539803d4b Fix uninitialized values and bad enum conversions found by UBSAN. Eric Fiselier 2015-05-19 23:03:57 +00:00
  • 5486fac53c Rename internal trait that used non-reserved name. Eric Fiselier 2015-05-19 22:27:18 +00:00
  • a985b8cc79 Add compiler flag test support to LIT. Fix new/delete tests on apple-clang. Eric Fiselier 2015-05-19 15:15:53 +00:00
  • 5dce73dd6e Implement LWG2433: uninitialized_copy()/etc. should tolerate overloaded operator& Marshall Clow 2015-05-19 15:01:48 +00:00
  • 02be74588a mark new/delete tests as XFAIL more carefully Eric Fiselier 2015-05-19 03:41:22 +00:00
  • f4c97290fc [libcxx] Rework sized delete. Eric Fiselier 2015-05-19 02:03:22 +00:00
  • e7b12e343b Mark N4510 as complete; we already do this Marshall Clow 2015-05-18 23:25:09 +00:00
  • e62560a9b6 Add support for N4389 - std::bool_constant Marshall Clow 2015-05-18 23:21:06 +00:00
  • bc9ccda541 Update C++1z status; mark issues 2059,2369,2415,2454 and 2458 as 'complete'. I have committed patches for all of them Marshall Clow 2015-05-18 19:52:49 +00:00
  • c7c52f913d Update C++1z status; mark all the issues that require no library change as 'complete' Marshall Clow 2015-05-18 19:50:05 +00:00
  • de76389219 Update C++1z status with issues and papers from Lenexa Marshall Clow 2015-05-18 19:01:11 +00:00
  • c42668278d Fix for LWG Issue 2458: N3778 and new library deallocation signatures. Marshall Clow 2015-05-18 17:48:45 +00:00
  • 21f5b24e2d libcxx: Enhance lit test command in verbose mode. Logan Chien 2015-05-17 00:24:11 +00:00
  • b6d12a2b3a Fix test that was failing on C++03 b/c it was using initializer lists Marshall Clow 2015-05-16 17:10:49 +00:00
  • 4f8edc478b Fix build when libunwind is disabled. Logan Chien 2015-05-16 13:10:39 +00:00
  • 5e5e11d90d libcxx: Fix ARM libc++/abi and libunwind buildbot. Logan Chien 2015-05-16 12:44:31 +00:00
  • 22a6d5aede Use clock_gettime()'s CLOCK_REALTIME instead of gettimeofday(). Ed Schouten 2015-05-14 20:54:18 +00:00