summaryrefslogtreecommitdiffstats
path: root/libcxx
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix some mistakes in the <array> synopsis. No functional change. Thanks to ↵Marshall Clow2015-11-191-5/+5
| | | | | | K-ballo for the patch llvm-svn: 253592
* Fix bad variable name. project_root -> project_obj_rootEric Fiselier2015-11-171-1/+1
| | | | llvm-svn: 253382
* Add tests for the extended integer types - as required by LWG#2119Marshall Clow2015-11-171-0/+40
| | | | llvm-svn: 253376
* Implement P0007: Constant View: A proposal for a std::as_const helper ↵Marshall Clow2015-11-174-1/+77
| | | | | | function template. llvm-svn: 253274
* Fix compile error in test. Can't use `operator[]` for multimap.Marshall Clow2015-11-161-1/+1
| | | | llvm-svn: 253271
* More tests for LWG#2156Marshall Clow2015-11-164-0/+64
| | | | llvm-svn: 253257
* LWG#2156 loosened the requirements on unordered containers 'rehash' calls. ↵Marshall Clow2015-11-165-1/+49
| | | | | | Add tests to make sure we meet these requirements. Since we met the stricter ones, no code change needed to meet the looser ones. llvm-svn: 253223
* Implement P0013R1: Logical Operator Type Traits. Make a hidden ↵Marshall Clow2015-11-165-143/+370
| | | | | | implementation (__and_, __or_, and __not_) so that we can use them elsewhere in non-C++17 code - for example, in the LFTS llvm-svn: 253215
* Mark P0013 as 'in progress'Marshall Clow2015-11-161-1/+1
| | | | llvm-svn: 253212
* Implement P0074: Making owner_less more flexibleMarshall Clow2015-11-123-1/+69
| | | | llvm-svn: 252905
* [libcxx] Fixup a few fumbles in the initial no-exceptions XFAILs list.Asiri Rathnayake2015-11-125-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The initial buildbot run found a few missing bits in the initial XFAIL list for the no-exceptions libc++ variant. These discrepancies are as follows: [1] Following two tests need XFAILs on the no-exceptions library variant. My local runs had these two disabled for other reasons (unsupported): - localization/locales/locale/locale.cons/char_pointer.pass.cpp - numerics/complex.number/complex.ops/complex_divide_complex.pass.cpp [2] These three does not need XFAILs, they were failing on my local runs for other reasons: - depr/depr.c.headers/uchar_h.pass.cpp - input.output/iostreams.base/ios/basic.ios.members/copyfmt.pass.cpp - .../category.collate/locale.collate.byname/transform.pass.cpp (these are failing on my box for the default build as well) The current patch fixes both the cases above. Additionally, I've run the following scan to make sure I've covered all the cases: > grep ' catch \| try \| throw ' -R . | perl -pe 's|(.*?):.*|\1|' | sort | \ uniq > 1.txt > grep 'libcpp-no-exceptions' -R . | perl -pe 's|(.*?):.*|\1|' | sort | \ uniq > 2.txt > diff 1.txt 2.txt This showed up a few extra interesting cases: [3] These two tests do not use try/catch/throw statements, but they fail at runtime. Need to be investigated, I've left the XFAILs in. - std/thread/futures/futures.shared_future/dtor.pass.cpp - std/thread/futures/futures.unique_future/dtor.pass.cpp [4] These tests use a macro named TEST_HAS_NO_EXCEPTIONS to conditionally exclude try/catch/throw statements when running without exceptions. I'm not entirely sure why this was needed (AFAIK, we didn't have a no-exceptions library build before). The macro's defintion is quite similar to that of _LIBCPP_NO_EXCEPTIONS. I will investigate if this can be reused for my test fixes or if it should be replaced with _LIBCPP_NO_EXCEPTIONS. - std/experimental/any/* Change-Id: I9ad1e0edd78f305406eaa0ab148b1ab693f7e26a llvm-svn: 252870
* Fix typo I just introduced.Marshall Clow2015-11-101-1/+1
| | | | llvm-svn: 252614
* std:: qualify ptrdiff_t in the test. Thanks to Walter for the catchMarshall Clow2015-11-101-2/+2
| | | | llvm-svn: 252613
* Walter pointed out some missing includes in the tests. Fixing the includes ↵Marshall Clow2015-11-1060-35/+94
| | | | | | uncovered a couple bugs in the _v type traits. Fixed those, too llvm-svn: 252612
* Explicitly #include <utility> so that we get std::move. Thanks to Walter for ↵Marshall Clow2015-11-101-0/+1
| | | | | | the bug report. llvm-svn: 252610
* Make it possible to build a no-exceptions variant of libcxx.Asiri Rathnayake2015-11-10158-0/+159
| | | | | | | | | | | | Fixes a small omission in libcxx that prevents libcxx being built when -DLIBCXX_ENABLE_EXCEPTIONS=0 is specified. This patch adds XFAILS to all those tests that are currently failing on the new -fno-exceptions library variant. Follow-up patches will update the tests (progressively) to cope with the new library variant. Change-Id: I4b801bd8d8e4fe7193df9e55f39f1f393a8ba81a llvm-svn: 252598
* Mark LWG#2486 as complete. Eric did this as part of r242959Marshall Clow2015-11-091-1/+1
| | | | llvm-svn: 252509
* Make check-libcxx Py3-compatible.NAKAMURA Takumi2015-11-091-3/+3
| | | | llvm-svn: 252458
* Add initial support for the MUSL C library.Vasileios Kalintiris2015-11-096-18/+100
| | | | | | | | | | | | | | | | | | | Summary: This patch adds the LIBCXX_LIBC_IS_MUSL cmake option to allow the building of libcxx with the Musl C library. The option is necessary as Musl does not provide any predefined macro in order to test for its presence, like GLIBC. Most of the changes specify the correct path to choose through the various #if/#else constructs in the locale code. Depends on D13407. Reviewers: mclow.lists, jroelofs, EricWF Subscribers: jfb, tberghammer, danalbert, srhines, cfe-commits Differential Revision: http://reviews.llvm.org/D13673 llvm-svn: 252457
* Mark LWG#2224 as complete. Wording change only, no code changes requiredMarshall Clow2015-11-071-1/+1
| | | | llvm-svn: 252408
* Implement LWG#2353: std::next is over-constrainedMarshall Clow2015-11-073-6/+10
| | | | llvm-svn: 252407
* More of P0006R0: type traits variable aliases for C++17.Marshall Clow2015-11-0727-5/+354
| | | | llvm-svn: 252406
* Cleanup: move visibility/linkage attributes to the first declaration.Evgeniy Stepanov2015-11-0715-260/+496
| | | | | | | | | | | | This change moves visibility attributes from out-of-class method definitions to in-class declaration. This is needed for a switch to attribute((internal_linkage)) (see http://reviews.llvm.org/D13925) which can only appear on the first declaration. This change does not touch istream/ostream/streambuf. They are handled separately in http://reviews.llvm.org/D14409. llvm-svn: 252385
* Allow deque to handle incomplete types.Evgeniy Stepanov2015-11-063-12/+77
| | | | | | | | Allow deque and deque::iterator instantiation with incomplete element type. This is an ABI breaking change, and it is only enabled if LIBCXX_ABI_VERSION >= 2 or LIBCXX_ABI_UNSTABLE=ON. llvm-svn: 252350
* Cleanup foo.h headers and __config to work in CEric Fiselier2015-11-066-3/+24
| | | | llvm-svn: 252274
* Mark LWG issue #2234. We already do this; no code change neededMarshall Clow2015-11-051-1/+1
| | | | llvm-svn: 252199
* Implement P0092R1 for C++1zMarshall Clow2015-11-0516-1/+713
| | | | llvm-svn: 252195
* Make reverse() call iter_swap like the standard says, instead of calling ↵Marshall Clow2015-11-021-2/+2
| | | | | | swap directly. No real change. llvm-svn: 251836
* Remove undefined behavior from some tests. Same pattern as the ↵Marshall Clow2015-11-022-10/+16
| | | | | | unitialized_copy tests llvm-svn: 251804
* Remove undefined behavior from some tests. Thanks to Walter Brown for the ↵Marshall Clow2015-11-022-10/+18
| | | | | | heads-up. llvm-svn: 251802
* Add 'nostdinc++' to the flags used by testit. Makes the tests run better on ↵Marshall Clow2015-11-011-1/+1
| | | | | | Mac OS X with the new depr.c headers change llvm-svn: 251768
* Improve the tests for 'is_literal_type'Marshall Clow2015-11-011-18/+62
| | | | llvm-svn: 251767
* Implement the first part of P0006R0: Adopt Type Traits Variable Templates ↵Marshall Clow2015-11-0135-2/+2510
| | | | | | for C++17. Significantly augment the existing tests. llvm-svn: 251766
* Revert r249929 ("Split <string.h> out of <cstring>").Richard Smith2015-10-292-86/+18
| | | | | | | | | | | | | | This change caused problems when building code like povray that: a) uses 'using namespace std;' b) is built on an environment where the C library provides the "wrong" (non-const-correct) interface for the str* functions c) makes an unqualified call to one of those str* functions A patch is out for review to add a facility to fix this (and to give the correct signatures for these functions whenever possible, even when the C library does not do so). This revert is expected to be temporary. llvm-svn: 251665
* Implement P0004R1 'Remove Deprecated iostreams aliases'Marshall Clow2015-10-297-7/+35
| | | | llvm-svn: 251618
* Mark two Kona papers as 'in progress'Marshall Clow2015-10-281-2/+2
| | | | llvm-svn: 251545
* Adapt to lit change in llvm r251478-r251481Matthias Braun2015-10-281-8/+13
| | | | | | Sorry for the breakage. llvm-svn: 251529
* Fix test suite configuration. Sorry MarshallEric Fiselier2015-10-261-1/+3
| | | | llvm-svn: 251334
* Mark LWG#2495 as complete. No code changes neededMarshall Clow2015-10-251-1/+1
| | | | llvm-svn: 251258
* Fix LWG#2489: mem_fn() should be noexceptMarshall Clow2015-10-253-4/+7
| | | | llvm-svn: 251257
* Add the tests for the last commitMarshall Clow2015-10-252-0/+144
| | | | llvm-svn: 251254
* Fix LWG#2476: scoped_allocator_adaptor is not assignableMarshall Clow2015-10-251-0/+4
| | | | llvm-svn: 251253
* Add a test for LWG#2466: allocator_traits::max_size() default behavior is ↵Marshall Clow2015-10-253-5/+4
| | | | | | incorrect llvm-svn: 251252
* Add a test for LWG#2462: std::ios_base::failure is overspecifiedMarshall Clow2015-10-251-0/+3
| | | | llvm-svn: 251250
* Fix LWG#2127: Move-construction with raw_storage_iterator.Marshall Clow2015-10-253-5/+28
| | | | llvm-svn: 251247
* Fix LWG#2244: basic_istream::seekgMarshall Clow2015-10-253-1/+11
| | | | llvm-svn: 251246
* Update C++ status from KonaMarshall Clow2015-10-252-1/+56
| | | | llvm-svn: 251220
* Set LC_COLLATE rather than LANG to override collation.Tim Northover2015-10-231-1/+1
| | | | | | | On a system with LC_COLLATE=C, this takes precedence over a non-C LANG the test tries to impose and the test fails. llvm-svn: 251131
* Use proper output directory when naminging the libc++ outputEric Fiselier2015-10-231-1/+1
| | | | llvm-svn: 251100
* Dont required CMake 3 to install a linker scriptEric Fiselier2015-10-221-2/+3
| | | | llvm-svn: 251065
OpenPOWER on IntegriCloud