Commit Graph

  • 3996cfb482 Add test for variant construction with duplicate types. Eric Fiselier 2019-07-14 20:59:51 +00:00
  • 19063b99b0 Cleanup whitespace in <variant>. NFC. Eric Fiselier 2019-07-14 18:31:55 +00:00
  • d13b2c9c44 Harden variant test added in r366022 Eric Fiselier 2019-07-14 18:30:34 +00:00
  • 301501fb78 Avoid eager template instantiation caused by the variant narrowing checks. Eric Fiselier 2019-07-14 18:21:15 +00:00
  • 478bb094b5 Fix non-conformance it std::tuple. Eric Fiselier 2019-07-12 23:01:48 +00:00
  • 6f5ab14489 Add option to disable variant narrowing conversion changes. Eric Fiselier 2019-07-12 21:32:11 +00:00
  • 86f93e801c [libc++] Add XFAILs for CTAD tests on older compilers Louis Dionne 2019-07-12 17:30:57 +00:00
  • 6507e2af11 Mark destroying delete test as UNSUPPORTED with clang 7 Eric Fiselier 2019-07-12 01:16:08 +00:00
  • e98aed4733 Tolerate import errors in "not.py" implementation Eric Fiselier 2019-07-12 01:13:05 +00:00
  • 3c73561841 Reorganize the 'bit' header to make most of the facilities available for internal use pre-C++20. NFC for external users Marshall Clow 2019-07-12 01:01:55 +00:00
  • 1639ec22a2 Add another buildbot username to the workaround list Eric Fiselier 2019-07-12 00:16:38 +00:00
  • 5e40011381 Attempt to override broken buildbot config for libc++abi. Eric Fiselier 2019-07-12 00:02:49 +00:00
  • f579c7c19d Fix memory leak in set and map. Eric Fiselier 2019-07-11 23:13:38 +00:00
  • 2980850307 [libc++] Implement deduction guides for <unordered_set> Louis Dionne 2019-07-11 15:16:39 +00:00
  • 9eaa4d176d build: use multiple install rather than building up a list Saleem Abdulrasool 2019-07-09 21:43:01 +00:00
  • 9132b5b287 Revert "[libc++] Take 2: Do not cleverly link against libc++abi just because it happens to be there" Vitaly Buka 2019-07-08 17:46:23 +00:00
  • 0a371878f1 [libc++] Take 2: Do not cleverly link against libc++abi just because it happens to be there Louis Dionne 2019-07-08 14:49:35 +00:00
  • 7a377e25a4 Make forward_list::remove/remove_if/unique all return void before C++20; undoes that bit of D58332. Thanks to Mikhail Maltsev for pointing this out Marshall Clow 2019-07-08 03:45:28 +00:00
  • a386369f02 Make ~mutex and ~condition_variable trivial on Windows. Eric Fiselier 2019-07-07 17:24:03 +00:00
  • 47e6bb8620 Fix PR27658 - Make ~mutex trivial when possible. Eric Fiselier 2019-07-07 01:20:54 +00:00
  • da9535d479 Make list::remove/remove_if/unique all return void before C++20; undoes that bit of D58332. Thanks to Mikhail Maltsev for pointing this out Marshall Clow 2019-07-06 06:10:03 +00:00
  • 5625778f5c This patch makes swap functions constexpr. Both swap overloads, swap_ranges and iter_swap are updated (with tests). Zoe Carver 2019-07-05 20:13:34 +00:00
  • 5f2b21c3c9 Revert "[libc++] Do not cleverly link against libc++abi just because it happens to be there" Louis Dionne 2019-07-05 18:44:25 +00:00
  • 3e5ac5b396 [libc++] Do not cleverly link against libc++abi just because it happens to be there Louis Dionne 2019-07-05 17:06:23 +00:00
  • 825410b082 docs: add documentation for LIBCXX_INCLUDE_TESTS Saleem Abdulrasool 2019-07-04 19:08:16 +00:00
  • 7d00fc23cd Add tests for regex_match ambiguity (aka LWG2273). NFC. Reviewed as https://reviews.llvm.org/D63051 Marshall Clow 2019-07-03 20:32:35 +00:00
  • 78af2bfb2f Fix tuple's conditionally explicit constructors for very weird user types. Eric Fiselier 2019-07-03 19:21:40 +00:00
  • ba4d4df3ab [libc++] Update availability markup for Filesystem on Apple platforms Louis Dionne 2019-07-03 18:29:02 +00:00
  • cdd813e070 Update status of papers for upcoming WG21 meeting. NFC Marshall Clow 2019-07-02 03:23:06 +00:00
  • e299a7e9c8 Use new '__libcpp_is_constant_evaluated' call to remove an '#ifdef' from the bit code. NFC Marshall Clow 2019-07-02 03:21:16 +00:00
  • 5e9ba25180 Mark the newly added '__libcpp_is_constant_evaluated' as 'inline', since it can be included multiple times by multiple headers, and we don't want 'duplicate definition' errors. Marshall Clow 2019-07-02 00:20:06 +00:00
  • e380104a43 Add a private call '__libcpp_is_constant_evaluated' which 'works' for old language versions and w/o any compiler support. 'Working', in this case, means that it returns false in those cases. Marshall Clow 2019-07-01 23:16:46 +00:00
  • 268aced50d Update status for bit operations Marshall Clow 2019-07-01 23:00:34 +00:00
  • 6062354517 Bit Operations: P0556, P0553 and P1355. Reviewed as: https://reviews.llvm.org/D51262 Marshall Clow 2019-07-01 23:00:32 +00:00
  • b87e5f52af Ensure bitset's string constructor doesn't poison the overload set. Eric Fiselier 2019-07-01 19:59:34 +00:00
  • b23844e251 Implement P0646R1: Erase-Like Algorithms Should Return size_type. Reviewed as https://reviews.llvm.org/D58332, and then updated because I rewrote a couple of those routines to eliminate some UB. Thanks to Zoe for tghe patch. Marshall Clow 2019-07-01 19:22:00 +00:00
  • b10aebc767 Implement LWG2221: 'Formatted output for nullptr_t' Reviewed as: https://reviews.llvm.org/D63053 Marshall Clow 2019-07-01 16:20:25 +00:00
  • 759c9bfb93 __threading_support: Remove (void) in favor of (). Bruce Mitchener 2019-07-01 16:18:38 +00:00
  • 8cc83b0d54 Fix -Wdouble-promotion warnings. Bruce Mitchener 2019-07-01 16:13:31 +00:00
  • af4b988cfa [libcxx] [test] Add void cast to result of compare_exchange_weak to suppress [[nodiscard]]. Billy Robert O'Neal III 2019-07-01 08:09:02 +00:00
  • 7779ab4a2d Add a missing '__uncvref_t' to the SFINAE constraints for optional's assignment operator. Fixes PR38638. Thanks to Jonathan Wakely for the report Marshall Clow 2019-06-27 18:40:55 +00:00
  • 2c2308c5e3 Followup to revision 364545: Turns out that clang issues different errors for C++11 vs c++2a, so I tweaked the 'expected-error' bits that I added to match either of them. Marshall Clow 2019-06-27 15:37:31 +00:00
  • e3f2980a56 Provide hashers for string_view only if they are using the default char_traits. Seen on SO: test/std/strings/string.view/string.view.hash/char_type.hash.fail.cpp Marshall Clow 2019-06-27 14:18:32 +00:00
  • de635b64f8 Revert "Change the ABI version and ABI namespace to be _LIBCPP_VERSION" Eric Fiselier 2019-06-26 00:05:14 +00:00
  • 3a4b49e283 Change the ABI version and ABI namespace to be _LIBCPP_VERSION when _LIBCPP_ABI_UNSTABLE is defined. Eric Fiselier 2019-06-25 22:13:39 +00:00
  • 8b2d46d8a2 Fix test failures due to modified wording in Clang diagnostics. Richard Smith 2019-06-24 22:01:03 +00:00
  • caf3bc5596 Fix test failures when using a custom ABI namespace. Richard Smith 2019-06-24 21:46:05 +00:00
  • 6f546837a4 [libcxx] [test] Read files as bytestrings to fix py3 encoding issues Michal Gorny 2019-06-24 09:40:33 +00:00
  • 20f2ecc862 Use C++11 implementation of unique_ptr in C++03. Eric Fiselier 2019-06-23 20:47:21 +00:00
  • 90cd963b3b Apply new meta-programming traits throughout the library. Eric Fiselier 2019-06-23 20:28:29 +00:00
  • cfab3381d3 Disable test by default Eric Fiselier 2019-06-23 03:59:32 +00:00
  • 64cad861d6 Add super fast _IsSame trait for internal use. Eric Fiselier 2019-06-23 03:58:41 +00:00
  • 4d0f193d43 Add noexcept throughout <atomic> Eric Fiselier 2019-06-23 02:49:12 +00:00
  • c764d9ab7f Fix placement of -Wno-ignored-attributes Eric Fiselier 2019-06-23 00:31:18 +00:00
  • b194ee5b68 Disable -Wignored-attributes for now Eric Fiselier 2019-06-23 00:17:14 +00:00
  • 80f67f31b4 Add new style meta-programming primatives. Eric Fiselier 2019-06-21 23:37:52 +00:00
  • 52f76364dc Implement P0340R3: Make 'underlying_type' SFINAE-friendly. Reviewed as https://reviews.llvm.org/D63574 Marshall Clow 2019-06-21 18:57:06 +00:00
  • 59c47a9425 Use rvalue references throughout the is_constructible traits. Eric Fiselier 2019-06-21 15:35:33 +00:00
  • 3f10018902 Make move and forward work in C++03. Eric Fiselier 2019-06-21 15:20:55 +00:00
  • 3d80477aa2 Enable aligned_union in C++03 Eric Fiselier 2019-06-21 14:45:08 +00:00
  • 3cb5e8693b Get is_convertible tests passing in C++03 (except the fallback). Eric Fiselier 2019-06-21 14:43:15 +00:00
  • 92ffd7f019 Remove dead non-variadic workarounds in <type_traits> Eric Fiselier 2019-06-21 14:37:28 +00:00
  • b62bdff2b5 Make rvalue metaprogramming traits work in C++03. Eric Fiselier 2019-06-21 14:31:34 +00:00
  • 52f7dfbad9 Remove even more dead code. Eric Fiselier 2019-06-21 14:09:32 +00:00
  • bf5a8da542 Assume __is_final, __is_base_of, and friends. Eric Fiselier 2019-06-21 13:56:13 +00:00
  • 613f006b64 Remove dead config now that C++03 requires Clang. Eric Fiselier 2019-06-21 11:32:43 +00:00
  • 1e0a5c852d [libc++] Avoid using timespec when it might not be available Mikhail Maltsev 2019-06-21 08:33:47 +00:00
  • b0473a5282 [libc++] Recommit r363692 to implement P0608R3 Zhihao Yuan 2019-06-20 22:09:40 +00:00
  • e46f68502a [libc++] Take 2: Implement CTAD for map and multimap Louis Dionne 2019-06-20 19:32:00 +00:00
  • 681171bd1e AIX system headers need stdint.h and inttypes.h to be re-enterable Xing Xue 2019-06-20 15:36:32 +00:00
  • b82bfabdfd [NFC][libc++] Remove stray semi-colon after function definition Louis Dionne 2019-06-19 16:33:28 +00:00
  • 8dda700081 Mark papers P1458, P1459, P1462 and P1464 as complete. No changed needed to either the library or the tests. Marshall Clow 2019-06-19 16:32:07 +00:00
  • 1d7f21ea6f [libc++] Revert r363692 which implements P0608R3 Zhihao Yuan 2019-06-19 07:11:08 +00:00
  • 0662d025d5 Disable the 'nextafter' portions of these tests on PPC when using 128-bit doubles because the 'nextafter' call doesn't work right. Reviewed as https://reviews.llvm.org/D62384. Thanks to Xing Xue for the patch, and Hubert for the explanation. Marshall Clow 2019-06-18 21:20:02 +00:00
  • 1643cad1c5 Remove GCC C++03 fallbacks for decltype and static_assert. Eric Fiselier 2019-06-18 20:50:25 +00:00
  • 7d9183ba3a Reconfigure docker builders to be more modular. Eric Fiselier 2019-06-18 19:31:38 +00:00
  • 389b4e6d63 Fix the floating point version of midpoint. It wasn't constexpr, among other things. Add more tests. As a drive-by, the LCD implementation had a class named '__abs' which did a 'absolute value to a common-type' conversion. Rename that to be '__ct_abs'. Marshall Clow 2019-06-18 18:13:54 +00:00
  • f8f62ac93c [libc++] Implement P0608R3 - A sane variant converting constructor Zhihao Yuan 2019-06-18 15:26:50 +00:00
  • 8ea6252cec [libc++] Re-apply XFAIL to is_base_of test that was inadvertently reverted Louis Dionne 2019-06-18 15:01:59 +00:00
  • 11aae354b9 [libc++] Revert the addition of map/multimap CTAD Louis Dionne 2019-06-18 14:40:15 +00:00
  • 5f9e5208e6 [NFC] Assign a couple of LWG issues to myself Louis Dionne 2019-06-17 19:40:09 +00:00
  • e97eb5d5ba [libc++] Update ABI list for ABI v2 Louis Dionne 2019-06-17 19:37:26 +00:00
  • 166dca8cc8 Update status of issue 3209 Marshall Clow 2019-06-17 18:25:52 +00:00
  • a5a011702c Add tests for LWG 3206. NFC Marshall Clow 2019-06-17 18:06:30 +00:00
  • 9cbdf27f7c Update the meeting page with papers/issues that are ready for Cologne Marshall Clow 2019-06-17 16:17:56 +00:00
  • 0a5f17bdb2 Fix a '>= 0' test on unsigned that I inadvertantly introduced. Now correctly '!= 0'. Thanks to Arthur for the catch Marshall Clow 2019-06-17 13:41:14 +00:00
  • cd4a856d45 add header to help with template testing Eric Fiselier 2019-06-15 21:16:57 +00:00
  • 2a9550e537 attempt to unbreak buildbots Eric Fiselier 2019-06-14 19:31:17 +00:00
  • f6244f8e57 [libcxx] Add XFAIL for facet test when back-deploying to older macOS Louis Dionne 2019-06-14 14:40:38 +00:00
  • 19c3167b15 [libc++] Keep __regex_word in sync with ctype_base Mikhail Maltsev 2019-06-14 09:04:16 +00:00
  • ad464887b9 [libc++] Fix build with gcc 4.8 Thomas Anderson 2019-06-13 22:27:24 +00:00
  • ead1950731 [libc++] Add missing #include in <cwchar> tests Louis Dionne 2019-06-13 18:24:28 +00:00
  • f68c6d52a1 Make GCC in C++03 Unsupported Eric Fiselier 2019-06-13 00:37:25 +00:00
  • d7020fb087 [libcxx] XFAIL set/multiset CTAD tests on Apple Clang 10 Louis Dionne 2019-06-12 22:01:05 +00:00
  • 3939b1c7e7 [libcxx] XFAIL some CTAD tests on AppleClang 10 Louis Dionne 2019-06-12 20:12:44 +00:00
  • 78822a6853 Apply [[nodebug]] to typedefs throughout the STL. Eric Fiselier 2019-06-12 02:03:31 +00:00
  • 704a388bb7 Move libc++ specific tests for std::function out of the std directory Eric Fiselier 2019-06-11 22:59:53 +00:00
  • d011bdc437 Add documentation and tests for Clangs C++11 extensions in C++03. Eric Fiselier 2019-06-11 22:53:49 +00:00
  • 5a3290673c [libcxx] Mark CTAD tests for set and multiset as unsupported on older Apple Clangs Louis Dionne 2019-06-11 22:36:20 +00:00
  • 35a718a2c5 Mark CTAD fail tests for set/multiset as XFAIL for older compilers that give different error messages Marshall Clow 2019-06-11 20:35:19 +00:00