| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 268284
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch does the following:
* Remove <__config> includes from some container tests.
* Guards uses of std::launch::any in async tests because it's an extension.
* Move "test/std/extensions" to "test/libcxx/extensions"
* Moves various non-standard tests including those in "sequences/vector",
"std/localization" and "utilities/meta".
llvm-svn: 267981
|
|
|
|
|
|
|
|
|
| |
Testing the concrete implementation of INVOKE means calling the implementation
specific names `__invoke` and `__invoke_constexpr`. For this reason the test
are non-standard. For this reason it's best if the tests live outside of the
`test/std` directory.
llvm-svn: 267973
|
|
|
|
| |
llvm-svn: 267958
|
|
|
|
| |
llvm-svn: 267947
|
|
|
|
| |
llvm-svn: 267852
|
|
|
|
|
|
| |
STL@microsoft.com
llvm-svn: 267844
|
|
|
|
|
|
| |
STL@microsoft.com
llvm-svn: 267843
|
|
|
|
| |
llvm-svn: 267836
|
|
|
|
|
|
| |
Thanks to STL for the catch
llvm-svn: 267287
|
|
|
|
| |
llvm-svn: 267131
|
|
|
|
| |
llvm-svn: 267079
|
|
|
|
|
|
|
|
|
|
|
|
| |
The primary purpose of this patch is to add the 'is_callable' traits.
Since 'is_nothrow_callable' required making 'INVOKE' conditionally noexcept
I also took this oppertunity to implement a constexpr version of INVOKE.
This fixes 'std::experimental::apply' which required constexpr 'INVOKE support'.
This patch will be followed up with some cleanup. Primarly removing most
of "__member_function_traits" since it's no longer used by INVOKE (in C++11 at least).
llvm-svn: 266836
|
|
|
|
|
|
| |
initializer_list doesn't exist in C++03.
llvm-svn: 266820
|
|
|
|
|
|
|
| |
The C++11 and C++14 standards both say in the header <utility> synopsis that
<utility> shall include <initializer_list>.
llvm-svn: 266808
|
|
|
|
| |
llvm-svn: 266703
|
|
|
|
| |
llvm-svn: 266590
|
|
|
|
| |
llvm-svn: 266587
|
|
|
|
| |
llvm-svn: 266586
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are two main fixes in this patch.
First the constructor SFINAE was changed so that it's evaluated in two stages
where the first stage evaluates the "safe" SFINAE conditions and the second
evaluates the "dangerous" ones. The key is that the second stage is lazily
evaluated only if the first stage passes. This helps fix PR23256
(https://llvm.org/bugs/show_bug.cgi?id=23256).
The second fix is for PR22806 and LWG issue 2549. This fix applies
the suggested resolution to the LWG issue in order to prevent the construction
of dangling references. The SFINAE for this check is contained within
the _PreferTupleLikeConstructor alias template. The tuple-like constructors
are disabled whenever that trait returns false.
(https://llvm.org/bugs/show_bug.cgi?id=22806)
(http://cplusplus.github.io/LWG/lwg-active.html#2549)
llvm-svn: 266461
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
uses-allocator constructors
Summary:
A default uses-allocator constructor has been added since that overload was previously provided by the extended constructor.
Since Clang does implicit conversion checking after substitution this constructor has to deduce the allocator_arg_t parameter so that it can prevent the evaluation of "is_default_constructible" if the first argument doesn't match. See http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1391 for more information.
This patch fixes PR24779 (https://llvm.org/bugs/show_bug.cgi?id=24779)
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D19006
llvm-svn: 266409
|
|
|
|
| |
llvm-svn: 263688
|
|
|
|
| |
llvm-svn: 263405
|
|
|
|
| |
llvm-svn: 262610
|
|
|
|
| |
llvm-svn: 261925
|
|
|
|
| |
llvm-svn: 261875
|
|
|
|
|
|
| |
working
llvm-svn: 261874
|
|
|
|
|
|
|
| |
Since they're scheduled to be updated soon, we'll just comment out this test for
the moment, and re-commit when the bots are updated.
llvm-svn: 261661
|
|
|
|
| |
llvm-svn: 261653
|
|
|
|
|
|
| |
Michael Daniels.
llvm-svn: 258852
|
|
|
|
|
|
| |
It was useless, and didn't actually *do anything* with the allocator. Now it's gone. On the off chance that someone is mistakenly calling it, it's only gone in C++1z
llvm-svn: 258697
|
|
|
|
|
|
| |
Introduced a new (internal) type trait '__is_referenceable' with tests. Use that trait in add_lvalue_reference, add_rvalue_reference and add_pointer.
llvm-svn: 258418
|
|
|
|
| |
llvm-svn: 258287
|
|
|
|
| |
llvm-svn: 258196
|
|
|
|
| |
llvm-svn: 257506
|
|
|
|
|
|
| |
Fixes bugs #26120 and #26121. Thanks to Jonathan Wakely for the reports and the patches.
llvm-svn: 257474
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
constructors.
Summary: This patch implements the solution for LWG Issue #2367. See http://cplusplus.github.io/LWG/lwg-active.html#2367
Reviewers: mclow.lists, EricWF
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D13750
llvm-svn: 256325
|
|
|
|
| |
llvm-svn: 255944
|
|
|
|
|
|
|
| |
K-Ballo.
Review: http://reviews.llvm.org/D14839
llvm-svn: 255941
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch goes through and enables C++11 and C++14 features for newer GCC's.
The main changes are:
1. Turn on variable templates. (Uses __cpp_variable_templates)
2. Assert atomic<Tp> is trivially copyable (Uses _GNUC_VER >= 501).
3. Turn on trailing return support for GCC. (Uses _GNUC_VER >= 404)
4. XFAIL void_t test for GCC 5.1 and 5.2. Fixed in GCC 6.
llvm-svn: 255585
|
|
|
|
|
|
| |
more of them are passing. Thanks
llvm-svn: 255519
|
|
|
|
| |
llvm-svn: 255513
|
|
|
|
| |
llvm-svn: 255162
|
|
|
|
| |
llvm-svn: 254290
|
|
|
|
| |
llvm-svn: 254289
|
|
|
|
| |
llvm-svn: 254288
|
|
|
|
| |
llvm-svn: 254287
|
|
|
|
| |
llvm-svn: 254285
|
|
|
|
| |
llvm-svn: 254284
|
|
|
|
| |
llvm-svn: 254283
|