7efdd69688Set the libc++ version # to 3.7. Will bump to 3.8 soon
Marshall Clow
2015-07-16 17:22:24 +00:00
cd6ed54fedMake 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
73f131f210Mark two tests as failing on clang 3.8 (they failed on 3.7, too)
Marshall Clow
2015-07-16 02:44:33 +00:00
83de1012a9Remove non-ascii characters
Eric Fiselier
2015-07-14 20:45:48 +00:00
22dff5382aImplement n4169 - Add invoke function template
Eric Fiselier
2015-07-14 20:16:15 +00:00
92679178a5Mark LWG2308 as complete; fix link. No code change necessary.
Marshall Clow
2015-07-14 20:07:45 +00:00
26edd804baFix PR24114 - std::atomic for non-Clang is not a literal type
Eric Fiselier
2015-07-14 17:50:27 +00:00
119ed47999Move bits from N4258. Mark vector's move-constructor unconditionally noexcept in C++1z
Marshall Clow
2015-07-14 14:46:32 +00:00
7d914d1bffImplement 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
8f7fe5cd8eUse __is_identifier to detect __decltype and not the clang version.
Eric Fiselier
2015-07-10 20:26:38 +00:00
4f55ef701aFix error string in test suite
Eric Fiselier
2015-07-08 23:10:20 +00:00
0ce05a9f86The rest of N4279 and LWG#2464 - for unordered_map
Marshall Clow
2015-07-07 05:45:35 +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
faaf5ee349Automatically detect and use clang verify in failure tests.
Eric Fiselier
2015-07-06 19:56:45 +00:00
0c5dd15e09Mark LWG#2420 as complete. Eric did this in r228705.
Marshall Clow
2015-07-06 19:36:44 +00:00
7c1ebcf6fdMake locale code compile on CloudABI.
Ed Schouten
2015-07-06 15:39:36 +00:00
9e97eb890cCleanup: prefer _LIBCPP_GET_C_LOCALE over __cloc().
Ed Schouten
2015-07-06 15:37:40 +00:00
b81d6f5b8dNoticed 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
5a426e50d0Mark 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
5706c375d5K-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
933bf68f0aForgot the support include file in r241091
Marshall Clow
2015-06-30 18:16:12 +00:00
58113db00cAdd 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
07546f3b93Implement 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
f3c8fb22ecMark 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
715339ab55Mark 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
323ade3e70Make support for thread-unsafe C functions optional.
Ed Schouten
2015-06-24 08:44:38 +00:00
4428584a88Mark a couple of features as 'in progress'
Marshall Clow
2015-06-23 20:48:55 +00:00
8c42c8cb46When 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
1224e8972bMake seeking on an ostream that has eofbit set work correctly. Fixes PR#21361
Marshall Clow
2015-06-22 15:01:21 +00:00
46d06b90c1Fix illegal chars that snuck into <memory>
Marshall Clow
2015-06-19 19:32:06 +00:00
cb126215aaFix ASAN bot; missing bookkeeping in r240136.
Marshall Clow
2015-06-19 17:13:59 +00:00
c41133728dFix PR#18843. Thanks to Howard for the fix
Marshall Clow
2015-06-19 15:54:13 +00:00
3d08766099Delete dead code. NFCI
Jonathan Roelofs
2015-06-17 23:31:45 +00:00
b05f0599c0Fix std::function allocator constructors in C++03.
Eric Fiselier
2015-06-14 23:30:09 +00:00
4983580dc5Cleanup result_of tests and fix issues with the C++03 result_of.
Eric Fiselier
2015-06-13 08:25:24 +00:00
6f08111102Remove warnings about old CMake options
Eric Fiselier
2015-06-13 07:31:55 +00:00
fdae69aa13Fix 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
b7fc49f828Make __void_t unary and always provide it.
Eric Fiselier
2015-06-13 02:36:07 +00:00
bc1e44d14eLWG2442: call_once() shouldn't DECAY_COPY(). Patch from K-Ballo.
Eric Fiselier
2015-06-13 02:23:00 +00:00
eeeada1c77Enable __is_trivially* intrinsics for GCC 5.1
Eric Fiselier
2015-06-13 02:18:44 +00:00
724b5ab350Refactor is_member_function_pointer to use is_function and not __member_function_traits.
Eric Fiselier
2015-06-13 00:33:13 +00:00
7726a348dfPrevent dependancy on libatomic when using GCC to provide <atomic>.
Eric Fiselier
2015-06-13 00:23:07 +00:00
56a599b976Fix PR23293 - Do not unlock shared state before notifying consumers.
Eric Fiselier
2015-06-12 00:41:34 +00:00
f54ca46a7bChange #ifdefs in test to UNSUPPORTED. No functionality change in the tests
Marshall Clow
2015-06-11 21:47:39 +00:00
4356f6392eFix PR#23767. Add tests for iterator invalidation for deque::erase/pop_front/pop_back
Marshall Clow
2015-06-05 22:34:19 +00:00
c912c0ce7cWhile 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
127db91f3eMore N4258 changes. This time vector's constructors
Marshall Clow
2015-06-04 00:10:20 +00:00
7b193f7797More 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
bbf87b1c34Add '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
bf0460e0a0Don'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
0620fc865bAdd TODO note about switching to __decltype
Eric Fiselier
2015-05-29 23:21:03 +00:00
14c616af09Add 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
970d9f7768Get thread sleep_for test passing in C++03
Eric Fiselier
2015-05-27 01:09:51 +00:00
2cd0a2e4e7Mark __convert_to_integral test as XFAIL in c++03
Eric Fiselier
2015-05-27 01:02:51 +00:00
ee6bfb2117Cleanup move/forward tests and remove references to __rv.
Eric Fiselier
2015-05-27 00:51:08 +00:00
8f1d85fde5Add test macros header to remove dependance on __config macros.
Eric Fiselier
2015-05-27 00:28:30 +00:00
7242d18811Fix broken test I just added
Marshall Clow
2015-05-26 19:17:09 +00:00
b5b66923e3Add 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
ecec10efd9Mark N4366 as complete. libc++ has done this since 2012
Marshall Clow
2015-05-26 14:58:05 +00:00
97092d6a5cAdd TODO items
Eric Fiselier
2015-05-22 02:23:22 +00:00
19158f2fa1Start a to-do list for libc++
Marshall Clow
2015-05-20 17:39:54 +00:00
bae11add65Fix building and testing libc++ with GCC.
Eric Fiselier
2015-05-20 03:15:01 +00:00
1a7ccb14e8Fix race condition in thread test.
Eric Fiselier
2015-05-19 23:41:04 +00:00
5d663441e7Address @danalberts comments on r237700
Eric Fiselier
2015-05-19 23:10:32 +00:00
d539803d4bFix uninitialized values and bad enum conversions found by UBSAN.
Eric Fiselier
2015-05-19 23:03:57 +00:00
5486fac53cRename internal trait that used non-reserved name.
Eric Fiselier
2015-05-19 22:27:18 +00:00
a985b8cc79Add compiler flag test support to LIT. Fix new/delete tests on apple-clang.
Eric Fiselier
2015-05-19 15:15:53 +00:00
02be74588amark 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
e7b12e343bMark N4510 as complete; we already do this
Marshall Clow
2015-05-18 23:25:09 +00:00
e62560a9b6Add support for N4389 - std::bool_constant
Marshall Clow
2015-05-18 23:21:06 +00:00
bc9ccda541Update 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
c7c52f913dUpdate C++1z status; mark all the issues that require no library change as 'complete'
Marshall Clow
2015-05-18 19:50:05 +00:00
de76389219Update C++1z status with issues and papers from Lenexa
Marshall Clow
2015-05-18 19:01:11 +00:00
c42668278dFix for LWG Issue 2458: N3778 and new library deallocation signatures.
Marshall Clow
2015-05-18 17:48:45 +00:00
21f5b24e2dlibcxx: Enhance lit test command in verbose mode.
Logan Chien
2015-05-17 00:24:11 +00:00
b6d12a2b3aFix test that was failing on C++03 b/c it was using initializer lists
Marshall Clow
2015-05-16 17:10:49 +00:00
4f8edc478bFix build when libunwind is disabled.
Logan Chien
2015-05-16 13:10:39 +00:00
5e5e11d90dlibcxx: Fix ARM libc++/abi and libunwind buildbot.
Logan Chien
2015-05-16 12:44:31 +00:00
22a6d5aedeUse clock_gettime()'s CLOCK_REALTIME instead of gettimeofday().
Ed Schouten
2015-05-14 20:54:18 +00:00