56c1f9b8e5Split out config_site logic so libc++abi can use it
Eric Fiselier
2015-10-14 19:00:35 +00:00
f0cd203bdc[libcxx] Use __config_site to configure the test suite features.
Eric Fiselier
2015-10-14 18:22:15 +00:00
a4ae16b67aFix GCC atomic implementation in C++03
Eric Fiselier
2015-10-14 08:36:22 +00:00
a6622799b4Use __config_site when building libc++. Also cleanup ABI versioning doc
Eric Fiselier
2015-10-14 00:22:05 +00:00
499d87881aWorkaround -pedantic flag added by LLVM
Eric Fiselier
2015-10-13 23:56:33 +00:00
4f01aa8fb8ABI versioning macros for libc++.
Evgeniy Stepanov
2015-10-13 23:48:28 +00:00
b3b00818e5Fix use of libc++ <foo.h> headers from within an 'extern "C"' context in C++98.
Richard Smith
2015-10-13 23:12:22 +00:00
3759bed447Fix whitespace in doc
Eric Fiselier
2015-10-13 22:22:42 +00:00
44d1476b6dRemove __config module to avoid #include cycle when libc headers include libc++'s <foo.h> headers.
Richard Smith
2015-10-13 22:13:33 +00:00
73ffc78616[libcxx] Capture configuration information when installing the libc++ headers
Eric Fiselier
2015-10-13 22:12:02 +00:00
218d017400Mark 2447 and 2466 as completed.
Marshall Clow
2015-10-12 16:25:21 +00:00
6bed14b343[Darwin] Reworking r250003 to use lit.util.capture instead of subprocess.
Chris Bieneman
2015-10-12 02:54:30 +00:00
bf64c23851[Darwin] Need to add -isysroot on OS X otherwise the tests will fail if you don't have the command line tools package installed.
Chris Bieneman
2015-10-12 00:49:56 +00:00
cb23a49e40Turn off -pedantic by default when building due to #include_next. :-(
Eric Fiselier
2015-10-10 03:34:52 +00:00
42b89c7e05Revert r249931 - Remove same_decls.pass.cpp because it fails on OS X and in C++03 mode.
Eric Fiselier
2015-10-10 03:31:23 +00:00
ea33904773Get some of wchar_h.pass.cpp working on apple.
Eric Fiselier
2015-10-10 02:54:41 +00:00
de66c515deUnrevert r249889, and XFAIL the test for Darwin, where the libc apparently doesn't provide a correct overload set for some functions.
Richard Smith
2015-10-10 01:39:51 +00:00
8b7a6b8995Add a test that we declare the right set of C library function signatures in :: and std::, and that the names in :: and std:: are declaring the same entity.
Richard Smith
2015-10-10 01:33:17 +00:00
9f4f08db91Split <string.h> out of <cstring>.
Richard Smith
2015-10-10 01:25:31 +00:00
e35e663f73Revert r249889 due to bot failure.
Manman Ren
2015-10-10 01:03:55 +00:00
f2b3629dbfSplit <wctype.h> out of <cwctype>.
Richard Smith
2015-10-09 19:57:37 +00:00
26a70eccf2Split <wchar.h> out of <cwchar>.
Richard Smith
2015-10-09 19:56:37 +00:00
f650ea7131Split <stdlib.h> out of <cstdlib>.
Richard Smith
2015-10-09 01:41:45 +00:00
ff7ba4da7dSplit <stdio.h> out of <cstdio>.
Richard Smith
2015-10-09 01:29:09 +00:00
45bae0b7dcPR25118: move system_header pragma before uses of include_next to avoid extension warnings for people finding libc++ headers via -I paths.
Richard Smith
2015-10-09 00:26:50 +00:00
1883b40a07Fix test failure in C++98 mode due to imperfect static_assert emulation.
Richard Smith
2015-10-08 23:44:26 +00:00
759cd0e86bSplit <stddef.h> out of <cstddef>.
Richard Smith
2015-10-08 22:25:27 +00:00
4ccd90dd42Fix incorrect file header. This is <cfenv> not <cctype>.
Richard Smith
2015-10-08 21:17:21 +00:00
ddbf08114aSplit <setjmp.h> out of <csetjmp>.
Richard Smith
2015-10-08 20:41:26 +00:00
4faa3944c6Split <math.h> out of <cmath>.
Richard Smith
2015-10-08 20:40:34 +00:00
325c37a20fSplit <inttypes.h> out of <cinttypes>.
Richard Smith
2015-10-08 20:38:53 +00:00
f82f4f3f07Split <float.h> out of <cfloat>.
Richard Smith
2015-10-08 20:37:44 +00:00
1bbbd60ea7Split <errno.h> out of <cerrno>.
Richard Smith
2015-10-08 20:37:11 +00:00
ceeace9a60Split <ctype.h> out of <cctype>.
Richard Smith
2015-10-08 20:36:30 +00:00
72d7577b34Factor definition of std::nullptr_t out of <cstddef> into a header that can also be used by <stddef.h>.
Richard Smith
2015-10-08 20:34:11 +00:00
d20ca91968Mark 2244 as 'Patch Ready', 2477 and 2487 as 'Complete'
Marshall Clow
2015-10-07 19:45:14 +00:00
a09319b898While researching LWG#2244, I noticed we weren't testing that eofbit was being cleared. Now we are
Marshall Clow
2015-10-07 19:41:24 +00:00
d8b2456344Remove unnecessary inline functions capturing the contents of C library macros.
Richard Smith
2015-10-06 22:03:22 +00:00
5142fe4401Our test allocators support move/copy construction; they should support move/copy assignment as well
Marshall Clow
2015-10-06 20:30:56 +00:00
d06b33e5d0Add comments for LWG issues 2219 and 2367
Eric Fiselier
2015-10-06 04:12:30 +00:00
2d2757fe70Mark 2259 and 2473 as complete. Add some more notes
Marshall Clow
2015-10-05 23:27:10 +00:00
0d2d92e98eMark 2380 and 2384 as complete; no changes needed
Marshall Clow
2015-10-05 21:11:20 +00:00
fa8c64946aPatch for 2466 is ready
Marshall Clow
2015-10-05 21:08:49 +00:00
ba4775171eFixed a possible overflow in a test of allocator::max_size().
Marshall Clow
2015-10-05 20:50:25 +00:00
f956599e0eMark a couple more issues 'ready'
Marshall Clow
2015-10-05 20:35:30 +00:00
960bd0c6f8Mark 2072 as complete; we already do this
Marshall Clow
2015-10-05 20:21:54 +00:00
f8941c14a4Patch ready for 2127
Marshall Clow
2015-10-05 20:16:30 +00:00
25daee702e[libcxx] Reexport std::bad_array_length symbols from libc++abi on OS X.
Eric Fiselier
2015-10-05 19:28:48 +00:00
74a6450793Add comments about the issues
Marshall Clow
2015-10-05 18:48:10 +00:00
6f287e9053Private page for status of Kona issues and papers. Will be deleted after the Kona meeting. Not to be linked to from other pages.
Marshall Clow
2015-10-05 18:40:13 +00:00
7ed093bde7Implement LWG#2063, and update the issues links to point to the github generated pages
Marshall Clow
2015-10-05 16:17:34 +00:00
e3898a2187[libcxx] Use newest supported language dialect when running the test suite.
Eric Fiselier
2015-10-03 02:32:23 +00:00
423ca20f24[libcxx] Attempt to fix __throw_future_error in C++03
Eric Fiselier
2015-10-02 21:25:15 +00:00
d95ca09be4Attempt to prevent flaky thread.mutex tests by once again increasing timing tolerances
Eric Fiselier
2015-10-01 08:34:37 +00:00
9698ac5a68Manually suppress -Wnonnull when it occurs in an unevaluated context
Eric Fiselier
2015-10-01 07:41:07 +00:00
5289b0d698Fix initialzation order in dynarray
Eric Fiselier
2015-10-01 07:29:38 +00:00
237206bfdaSuppress array initialization warnings in std::experimental::apply tests
Eric Fiselier
2015-10-01 07:05:38 +00:00
49abdbcca3Dont link -lrt in the testsuite on linux unless using sanitizers.
Eric Fiselier
2015-10-01 06:15:26 +00:00
6a85e8a355Fix Typo in GCC no RTTI detection. Fixes PR#24901. Thanks to Bernhard Rosenkraenzer for the report and the patch.
Marshall Clow
2015-09-22 21:58:30 +00:00
da3ca86451Add placeholder __libcpp_relaxed_store() for when atomic builtins are not available.
Dimitry Andric
2015-09-22 18:55:37 +00:00
514c831504Remove possible trailing padding from aligned_storage. Patch from Yiran Wang
Eric Fiselier
2015-09-22 18:37:03 +00:00
bf94e48216The test I cnecked in to check the fix for PR#24890 failed (as expected) w/o the fix, but for the wrong reason. Now it fails for the right reason.
Marshall Clow
2015-09-22 18:09:13 +00:00
842e3f6f51Check in the test for PR#24890 that I forgot in previous commit
Marshall Clow
2015-09-22 17:57:41 +00:00
6b0e4195ebChange pair::swap(pair&) to call ADL swap instead of iter_swap; this fixes an obscure bug having to do with overloaded operator&. Fixes PR#24890
Marshall Clow
2015-09-22 17:50:11 +00:00
0b4ab6f08aFix <atomic> with -pedantic-errors
Eric Fiselier
2015-09-22 03:15:35 +00:00
2897e786b4Add endianness configuration block for GCC.
Dan Albert
2015-09-16 18:10:47 +00:00
41a04d69c4Suppress some warnings in the tests that snuck in. That 'tmpnam' is deprecated doesn't change the fact that we have to test it.
Marshall Clow
2015-09-15 17:12:49 +00:00
c2d317f1a2Change initialization of mbstate_t objects in tests from '= {0}' to '= {}', which does the same thing, w/o having clang and gcc warn with -Wall.
Marshall Clow
2015-09-15 14:46:03 +00:00
af9a44f256Implementation of Boyer-Moore and Boyer-Moore-Horspool searchers for the LFTS.
Marshall Clow
2015-09-08 17:59:09 +00:00
65a6f64221make common_type SFINAE-friendly and support void. Patch from Agustin Berge.
Eric Fiselier
2015-09-08 00:13:57 +00:00
b22481a33bCleanup BuildingLibcxx.rst and remove TODO
Eric Fiselier
2015-09-06 23:31:16 +00:00
5d514c01f5Fix another bad link in the new docs
Eric Fiselier
2015-09-06 23:22:02 +00:00
7ec94be3dfTry to fix links for libcxx.llvm.org/docs again.
Eric Fiselier
2015-09-06 23:09:54 +00:00
82c5745451Try and fix links again. Seems to be a sphinx version issue.
Eric Fiselier
2015-09-05 07:20:53 +00:00
4b5169ad0bTry and fix broken bugzilla link
Eric Fiselier
2015-09-05 06:57:29 +00:00
1aa96e8679Cleanup new documentation index and transfer more information from www/index.html
Eric Fiselier
2015-09-05 06:50:03 +00:00
cf829c9688Remove test commit.
Tanya Lattner
2015-09-05 05:38:50 +00:00
bf54da76b9Test commit for builder
Eric Fiselier
2015-09-05 05:29:23 +00:00
e3ec600c01Add temporary Makefile.sphinx build file to get libcxx.llvm.org/docs going
Eric Fiselier
2015-09-05 05:12:04 +00:00
46f9f326cfTry building docs again.
Eric Fiselier
2015-09-05 01:32:48 +00:00
6e5b234c63Test commit for sphinx docs try2
Eric Fiselier
2015-09-04 23:19:11 +00:00
0dec9d519cTest commit to see if libcxx.llvm.org/docs builds
Eric Fiselier
2015-09-04 22:57:00 +00:00
a189974948Make a helper routine __throw_future_error, and encapsulate the #ifdef _LIBCPP_NO_EXCEPTIONS there, instead of duplicating it throughout the code. No functionality change
Marshall Clow
2015-09-03 15:11:32 +00:00
cae4caba73Move __lazy_* metafunctions to type traits and add tests
Eric Fiselier
2015-08-31 03:50:31 +00:00
408369b7c9Suppress clang warnings in some tests
Eric Fiselier
2015-08-30 22:04:20 +00:00
9eddf6e1f5Remove task to get C++03 tests passing from TODO.txt
Eric Fiselier
2015-08-30 17:58:50 +00:00
e2d4892682Fix most GCC warnings during build. Only -Wattribute left.
Eric Fiselier
2015-08-28 07:02:42 +00:00
87813277b3Finally get the test suite passing in C++03!!
Eric Fiselier
2015-08-28 05:46:17 +00:00
ba3e81f6a8Remove empty file that arcanist created
Eric Fiselier
2015-08-28 05:18:13 +00:00
aff153a8cd[libcxx] Constrain unique_ptr::operator=(unique_ptr<Tp, Dp>) in C++03 mode
Eric Fiselier
2015-08-28 05:07:06 +00:00
031a3d203a[libcxx] Mark most test/std/future tests as UNSUPPORTED in C++03
Eric Fiselier
2015-08-28 05:06:04 +00:00
5ec04a92d2Fix bug in test_allocator<void> that used the wrong value to represent object state
Eric Fiselier
2015-08-28 05:00:25 +00:00
4f241823a2[libcxx] Optimize away unneeded length calculation in basic_string::compare(const char*)
Eric Fiselier
2015-08-28 03:02:37 +00:00
044df63102Do not include pthread.h and sched.h when threads are disabled
Jonathan Roelofs
2015-08-27 17:47:34 +00:00
5ea443059fRemove a switch statement, and replace with a bunch of ifs to silence a warning about 'all the enumeration values covered'. No functional change.
Marshall Clow
2015-08-27 14:37:22 +00:00
961269db1b[libcxx] Remove installation rules on Darwin when it would overwrite the system installation.
Eric Fiselier
2015-08-26 20:18:21 +00:00
e94b4840ef[libcxx] Add special warning flag detection logic to compiler.py
Eric Fiselier
2015-08-26 20:17:33 +00:00