50508334bfSilence _LIBCPP_ELAST porting warning on __APPLE__
Jonathan Roelofs
2014-09-02 22:09:50 +00:00
0991323677Don't #define _LIBCPP_HAS_NO_MONOTONIC_CLOCK on __APPLE__
Jonathan Roelofs
2014-09-02 21:56:01 +00:00
c5780651c3Partially address a FIXME in steady_clock::now()
Jonathan Roelofs
2014-09-02 21:14:38 +00:00
b9420936a4Newlib names ELAST differently than linux
Jonathan Roelofs
2014-09-02 20:34:23 +00:00
e33e03e558Fix PR#20834 - 'is_trivially_destructible yeilds wrong answer for arrays of unknown bound' Thanks to K-ballo for the bug report. Update a few of the other tests while we're here, and fix a typo in a test name.
Marshall Clow
2014-09-02 16:19:38 +00:00
b26c966174Mark test types for <atomic> nothrow default constructible. Patch from Steve MacKenzie.
Eric Fiselier
2014-08-27 17:00:11 +00:00
9dc353cf11Rename arguments in include/cmath to work around Newlib macro implementation using these particular names
Jonathan Roelofs
2014-08-27 14:05:20 +00:00
32050e1e69[libcxx] Fix ctype_byname<wchar_t>::do_is() mask checking.
Jonathan Roelofs
2014-08-26 22:29:00 +00:00
861f1e95fdReplace 'noexcept' with '_NOEXCEPT' in <shared_mutex>. This allows us to build the dylib with MSVC, which doesn't support noexcept (sheesh\!). Thanks to K-ballo for the report.
Marshall Clow
2014-08-25 14:53:16 +00:00
4de32048f5Fix bug 20740 - std::set/std::map don't support heterogeneous lookup for count(). Thanks to Jim Porter for the bug report
Marshall Clow
2014-08-24 23:54:16 +00:00
a564dc53ddFix assignments that should be comparisons x3
Eric Fiselier
2014-08-23 07:55:29 +00:00
69e7c05783Add return statement to a test class's assignment operator. Defect found by Coverity Scan.
Eric Fiselier
2014-08-23 06:36:11 +00:00
1070916643[libcxx] Add --show-unsupported and --show-xfail to check-libcxx's default LIT args.
Eric Fiselier
2014-08-23 04:33:20 +00:00
ae6e58c561Fix handling of format strings to work with python 2.6
Eric Fiselier
2014-08-23 04:02:21 +00:00
2c26213103Refactor lit.cfg.
Dan Albert
2014-08-21 17:30:44 +00:00
4f26672043Add self to credits
Eric Fiselier
2014-08-21 04:21:43 +00:00
501561910aMark some localization time tests as XFAIL on linux.
Eric Fiselier
2014-08-21 02:38:21 +00:00
51642a4e81Mark some localization monetary tests as XFAIL on linux.
Eric Fiselier
2014-08-21 02:22:54 +00:00
f523693f3fMark localization ctype tests as XFAIL on linux.
Eric Fiselier
2014-08-21 02:03:01 +00:00
682132b4ccfix missing include for ::close in platform_support.h
Eric Fiselier
2014-08-19 17:52:40 +00:00
bc4bcf051bAdd extra test case for PR20345. Should have been commited with r215984
Eric Fiselier
2014-08-19 16:33:05 +00:00
63648cffc0Fix is_member_function_pointer does not account for ellipsis. PR20345. Patch from Agustin Berge.
Eric Fiselier
2014-08-19 16:31:47 +00:00
6f10d47bbcGive libcxx tests temporary filenames that are actually unique.
Jonathan Roelofs
2014-08-19 13:56:56 +00:00
6661ad10f2Add standard version to lit.cfg's available features
Eric Fiselier
2014-08-18 07:05:40 +00:00
978faa00dfUpdate linux test results
Eric Fiselier
2014-08-18 06:53:30 +00:00
da98ce033e[libcxx] Add UNSUPPORTED tag to lit. It mirrors REQUIRES.
Eric Fiselier
2014-08-18 06:43:06 +00:00
caf1c029cb[libcxx] Add list of currently known buildbots to libc++ homepage
Eric Fiselier
2014-08-18 05:25:04 +00:00
781448f48aMark cuchar tests as always xfail since we don't provide the header'
Eric Fiselier
2014-08-18 05:09:51 +00:00
25a1516832[libcxx] Add support for LLVM_USE_SANITIZER to libcxx when being built standalone and in-tree
Eric Fiselier
2014-08-18 05:03:46 +00:00
dfe5e72ed3[libcxx] Update the way the -std= flag is chosen by CMake and LibcxxTestFormat
Eric Fiselier
2014-08-16 01:35:36 +00:00
b4b32a02faReadding FreeBSD support to lit.cfg. Patch from Pawel Worach.
Eric Fiselier
2014-08-15 23:24:00 +00:00
09d8c46f30Tame a few enum size tests when using -fshort-enums on ARM.
Jonathan Roelofs
2014-08-15 21:34:52 +00:00
efefe8ba34Revert get testsuite running on FreeBSD.
Eric Fiselier
2014-08-15 18:49:28 +00:00
101e2f3e06Get testsuite running on FreeBSD.
Eric Fiselier
2014-08-15 18:00:47 +00:00
98c4e404caRevert "Turn off extern templates for most uses."
Justin Bogner
2014-08-15 17:58:56 +00:00
c808961618Fix incorrect locale requirements in tests
Eric Fiselier
2014-08-15 05:02:05 +00:00
31b9c44aa7Add bare_allocator archetype that implements the minimal possible allocator interface.
Eric Fiselier
2014-08-15 04:15:41 +00:00
f3b5f0e134[libc++] Fix the CMake build on Mac when setting MACOSX_DEPLOYMENT_TARGET=10.6
Hans Wennborg
2014-08-12 17:32:07 +00:00
5b34a5f584Change two tests to be less dependant on locales.
Eric Fiselier
2014-08-12 00:48:56 +00:00
f4124610c2Add return statement to slice_array and mask_array assignment. Closes PR20614.
Eric Fiselier
2014-08-12 00:06:58 +00:00
35d775d0e4Update libc++ docs to include instructions for LIT.
Dan Albert
2014-08-11 15:12:46 +00:00
b9536101dcNFC. Move definition of _LIBCPP_ASSERT into __debug header and remove external include guards.
Eric Fiselier
2014-08-10 23:53:08 +00:00
e48b0c40adfix stdio.h test to reflect removal of ::gets in c++14
Eric Fiselier
2014-08-10 22:39:11 +00:00
67740670f9NFC. Remove trailing whitespace and tabs.
Eric Fiselier
2014-08-10 20:56:31 +00:00
e8b4232e33Emulate clang atomic built-ins on gcc > 4.7
Dan Albert
2014-08-09 23:51:51 +00:00
ddcbcd6b5eRevert "Add some extra checks to the MoveOnly test class to ensure it is not constructed or assigned from in a moved-from state."
David Blaikie
2014-08-09 22:42:19 +00:00
5eb396a8e6Add some extra checks to the MoveOnly test class to ensure it is not constructed or assigned from in a moved-from state.
David Blaikie
2014-08-09 22:35:47 +00:00
ae39e4f795fix copy and pasted comment in test
Eric Fiselier
2014-08-09 02:43:16 +00:00
2af66e9851Mark math.h and cmath tests as xfail on linux.
Eric Fiselier
2014-08-09 02:39:03 +00:00
095c3dd23eApply a similar fix to <forward_list> as I did for <list> in r215210. Again, thanks to Ion Gaztañaga for noticing this problem w.r.t LWG#526
Marshall Clow
2014-08-08 15:58:00 +00:00
fca038e133While reading LWG#526, Ion Gaztañaga noticed that libc++ didn't correctly handle list::remove(const value_type &x), if x was an element of the list. Added a test for this, and a fix. Thanks to Ion for the report.
Marshall Clow
2014-08-08 15:35:52 +00:00
f2e8c04540Fix re-building in-tree libc++ against in-tree libc++abi Differential Revision: http://reviews.llvm.org/D4805
Viktor Kutuzov
2014-08-08 06:53:30 +00:00
ea8ed833fedit pointed out on IRC that '__i = _VSTD::next(__i)' was a very long-winded way of writing '++__i'. Since I hate being thought of as long-winded (this checkin comment notwithstanding), I fixed it. No functionality change.
Marshall Clow
2014-08-05 01:34:12 +00:00
c09c2865b9Fix typo.
Dan Albert
2014-08-04 20:27:45 +00:00
529d303340Fix a problem with reference_wrapper in C++03 that was causing counting predicates to fail. Add a test to make sure it works. However, most of the reference_wrapper tests still fail in C++03 mode, due to a lack of decltype. No change there.
Marshall Clow
2014-08-04 19:20:17 +00:00
b4ed5ca01eAdd locales to available_features for tests.
Dan Albert
2014-08-04 18:44:48 +00:00
f0f1bca861Fix PR#202520 - predicate called too many times in list::remove_if. Add tests for list, forward_list, and the std::remove_if algorithm
Marshall Clow
2014-08-04 17:32:25 +00:00
a1d32fcd0eObey LLVM_LIBDIR_SUFFIX.
Dan Albert
2014-08-04 16:13:32 +00:00
32d4b65d56Adding ABI information to linux test results
Eric Fiselier
2014-08-01 06:30:18 +00:00
b127e600c4Update information about compiler used during linux tests and reformat run information.
Eric Fiselier
2014-08-01 06:27:40 +00:00
c72b49ba0cUpdate linux test results file
Eric Fiselier
2014-08-01 01:59:09 +00:00
d3d01eac01Change lit.cfg to allow whitespace before comments
Eric Fiselier
2014-07-31 22:56:52 +00:00
3ab406107dMake Android's ctype_base::mask unsigned.
Dan Albert
2014-07-31 21:04:08 +00:00
6f8821df70[libcxx] Remove use of default function template parameters in type traits. Fixes DR20484
Eric Fiselier
2014-07-31 19:09:26 +00:00
c5eb69601bAdd test cases for creating atomic types for trivially copyable types.
Marshall Clow
2014-07-31 15:20:48 +00:00
15269a8796Fix numeric_limits<XXX>::is_modulo for signed arithmetic types. We were reporting true, for all arithmetic types, which is incorrect. Fix the tests which were wrong, too. This fixes PR#20158.
Marshall Clow
2014-07-31 01:18:05 +00:00
05d116eb87std::once_flag was forward declared with _LIBCPP_TYPE_VIS decoration, and the defined with _LIBCPP_TYPE_VIS_ONLY decoration. Make them match
Marshall Clow
2014-07-29 21:05:31 +00:00
1757386944Base regex code on char_class_type.
Dan Albert
2014-07-29 19:23:39 +00:00
e515bbda1bFix linking with just-built libc++abi (added in r214037).
Alexey Samsonov
2014-07-28 19:25:44 +00:00
0d1965d8c2Fix PR#20471. Add a cast in __align_it to ensure that the bit twiddling is done at the correct size. A better solution, IMHO, would be to declare vector<bool>::__bits_per_word as 'size_type', rather than 'unsigned', but that's a possible ABI change.
Marshall Clow
2014-07-28 15:02:42 +00:00
0c6d1a88deBetter defaults for in-tree libc++ with cmake.
Dan Albert
2014-07-26 23:08:33 +00:00
3ee7233c80[libcxx] expose experimental::erased_type for all standard versions.
Eric Fiselier
2014-07-24 19:17:38 +00:00
9020c08989D4451: Fix copy/move issues casude by __tuple_leafs's converting constructor
Eric Fiselier
2014-07-24 18:48:34 +00:00
08b8506930test commit
Eric Fiselier
2014-07-24 18:41:56 +00:00
2a52a3237fFix ctype_base::xdigit for Android.
Dan Albert
2014-07-23 19:32:03 +00:00
de2404b16cUpdate the synopsis and comments with the results of LWG #2255. No code to back it up at the moment; just comments
Marshall Clow
2014-07-23 16:58:25 +00:00
cc160f5c15Fix classic_locale for Android.
Dan Albert
2014-07-22 17:32:56 +00:00
cb8757aca7Fix std::make_heap's worst case time complexity
David Majnemer
2014-07-22 06:07:09 +00:00
db5e54d2a3make the same change as in 213546 for vector<bool>
Marshall Clow
2014-07-21 15:15:15 +00:00
3c2eac62c3In response to bug #20362, change the order of operations in vector move assignment so that if the allocator move assignment throws, we aren't left with two objects pointing at the same memory. This is not a complete fix; I am unconvinced that a complete fix is possible. With this change in place, we will leak the old contents of the vector. LWG issue #2106, when adopted, will make this problem illegal. Thanks to Thomas Koeppe for the report and analysis.
Marshall Clow
2014-07-21 15:11:13 +00:00
d5549ccac1Fix bug #20335 - memory leak when move-constructing a string with unequal allocator. Thanks to Thomas Koeppe for the report
Marshall Clow
2014-07-17 15:32:20 +00:00
b1a40264dc[libcxx] Add <experimental/utility> header for LFTS.
Eric Fiselier
2014-07-17 05:31:31 +00:00
8fcc27286fChange _LIBCXX_CONSTEXPR_AFTER_CXX11 to check for c++14 constexpr rules
Eric Fiselier
2014-07-17 05:16:18 +00:00
9b2b60cab8Test commit: Reverting whitespace changes
Eric Fiselier
2014-07-17 05:10:03 +00:00
ad250c17dfTest commit: whitespace change
Eric Fiselier
2014-07-17 05:06:09 +00:00
7ef03b79f9Change Windows decoration on some base classes
Saleem Abdulrasool
2014-07-16 01:00:26 +00:00
48e7e9f403Support the built-in type-trait support in gcc 4.7 and later. Thanks to Albert Wong for the patch.
Marshall Clow
2014-07-10 15:38:20 +00:00
a64392627eAdd support for BIONIC C library (Android). Patch from Dan Albert
Marshall Clow
2014-07-10 15:20:28 +00:00
7778249d2dFix warning in test - missing exception specifier for overload of operator new
Marshall Clow
2014-07-10 15:19:50 +00:00
bbeca21f26Add a reset method to the counting predicates in the test suite
Marshall Clow
2014-07-09 21:04:22 +00:00
484728789estring_view enhancements. Move to the correct namespace. Better constexpr support (thanks to Richard for the suggestions). Update the tests to match this. Add <experimental/__config for experimental macros/etc to live.
Marshall Clow
2014-07-08 22:38:11 +00:00
51349536aaFix some failing tests for the standard containers. The tests were failing in 32-bit mode because they assumed that std::size_type and make_unsigned<ptrdiff_t>::type were always the same type. No change to libc++, just the tests.
Marshall Clow
2014-07-08 15:19:40 +00:00
3a61b30f3aMinor cleanup for string_view; mostly from suggestions by Richard Smith. Also, make the tests pass under c++03
Marshall Clow
2014-07-02 15:45:57 +00:00
2f9e714071Fix libc++ bug #20039: 'Constructing std::function from empty compatible std::function results in half-empty state' Thanks to Agustin Berge for the report, and for his and Eric Fiselier's work on a fix.
Marshall Clow
2014-06-30 21:27:51 +00:00
394451db81Fix a typo in the noexcept calculation for __compressed_pair::swap. Thanks to EricWF for the bug report and the fix.
Marshall Clow
2014-06-30 15:35:09 +00:00
c8c7abae66Add checking for the complexity guarantees in the standard
Marshall Clow
2014-06-30 05:04:20 +00:00
81aa3a745cPatch from Albert J. Wong to make type_traits take advantage of gcc intrinsics in 4.7 and later. No functionality change when using clang.
Marshall Clow
2014-06-26 01:07:56 +00:00
44ead61237eliminate install of duplicate headers (take 2) Patch by Ryuta Suzuki
David Fang
2014-06-24 20:32:11 +00:00