| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
Contracts' which was adopted last week in Issaquah
llvm-svn: 286877
|
|
|
|
| |
llvm-svn: 286864
|
|
|
|
|
|
| |
last week in Issaquah
llvm-svn: 286858
|
|
|
|
| |
llvm-svn: 286835
|
|
|
|
| |
llvm-svn: 286834
|
|
|
|
|
|
| |
issues and papers
llvm-svn: 286828
|
|
|
|
|
|
| |
https://reviews.llvm.org/D25534
llvm-svn: 284602
|
|
|
|
| |
llvm-svn: 284165
|
|
|
|
|
|
| |
std::function. These functions never worked, and as far as I know, no one ever called them.
llvm-svn: 284164
|
|
|
|
|
|
| |
error_code
llvm-svn: 283951
|
|
|
|
|
|
|
|
|
|
|
| |
Libc++'s implementation of shuffle and sample already support lvalue and rvalue
RNG's. This patch adds tests for both categories and marks the issue as complete.
This patch also contains drive-by change for std::experimental::sample which
improves the diagnostics produced when the correct iterator categories are
not supplied.
llvm-svn: 279947
|
|
|
|
| |
llvm-svn: 279945
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This patch adds std::any by moving/adapting <experimental/any>.
This patch also implements the std::any parts of p0032r3 (http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0032r3.pdf)
and LWG 2509 (http://cplusplus.github.io/LWG/lwg-defects.html#2509).
I plan to push it in a day or two if there are no comments.
Reviewers: mclow.lists, EricWF
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D22733
llvm-svn: 278310
|
|
|
|
| |
llvm-svn: 277964
|
|
|
|
| |
llvm-svn: 276751
|
|
|
|
| |
llvm-svn: 276605
|
|
|
|
| |
llvm-svn: 276546
|
|
|
|
| |
llvm-svn: 276545
|
|
|
|
| |
llvm-svn: 276544
|
|
|
|
| |
llvm-svn: 276511
|
|
|
|
| |
llvm-svn: 276233
|
|
|
|
| |
llvm-svn: 276231
|
|
|
|
| |
llvm-svn: 276230
|
|
|
|
|
|
|
|
|
|
| |
This patch upgrades <tuple> to be C++17 compliant by implementing:
* tuple_size_v: This was forgotten when implementing the other _v traits.
* std::apply: This was added via LFTS v1 in p0220r1.
* std::make_from_tuple: This was added in p0209r2.
llvm-svn: 275745
|
|
|
|
| |
llvm-svn: 275211
|
|
|
|
| |
llvm-svn: 275177
|
|
|
|
| |
llvm-svn: 275176
|
|
|
|
| |
llvm-svn: 275171
|
|
|
|
| |
llvm-svn: 275170
|
|
|
|
|
|
| |
wording clarifications; no code changes required.
llvm-svn: 274255
|
|
|
|
|
|
| |
wording clarifications; no code changes required.
llvm-svn: 274253
|
|
|
|
|
|
| |
on result'. We already did this, just added tests
llvm-svn: 274252
|
|
|
|
|
|
| |
did this, just added tests
llvm-svn: 274243
|
|
|
|
| |
llvm-svn: 274241
|
|
|
|
| |
llvm-svn: 274236
|
|
|
|
|
|
| |
CopyConstructible'
llvm-svn: 274235
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* P0163r0: Implemented in r273839.
* LWG 2309: pthread_mutex_lock only returns this error if certain debug flags
were passed during construction. libc++ does not pass these flags. There is
nothing to do.
* LWG 2310: Wording fix. No impact on libc++'s implementation.
* LWG 2312: libc++'s std::tuple implementation already constrains the overloads
based on the number of arguments.
* LWG 2549: libc++'s std::tuple already applied this fix.
* LWG 2674: libc++ already depends on this relaxed wording.
* LWG 2704, 2706, 2707, 2719, 2720, 2721, 2723, 2725, 2728: All of these filesystem were either
submitted by me and fixed before submission, or have already been applied.
llvm-svn: 274214
|
|
|
|
| |
llvm-svn: 274018
|
|
|
|
| |
llvm-svn: 274016
|
|
|
|
| |
llvm-svn: 273861
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch makes the bind placeholders in std::placeholders both (1) const and
(2) constexpr (See below).
This is technically a breaking change for any code using the placeholders
outside of std::bind and depending on them being non-const. However I don't
think this will break any real world code.
(1) Previously the placeholders were non-const extern globals in all
dialects. This patch changes these extern globals to be const in all dialects.
Since the cv-qualifiers don't participate in name mangling for globals this
is an ABI compatible change.
(2) Make the placeholders constexpr in C++11 and beyond. Although LWG 2488 only
applies to C++17 I don't see any reason not to backport this change.
llvm-svn: 273824
|
|
|
|
|
|
|
|
|
|
|
| |
Use strtof and strtod for floats and doubles respectively instead of
always using strtold. The other parts of the change are already implemented
in libc++.
This patch also has a drive by fix to wbuffer_convert::underflow() which
prevents it from calling memmove(buff, null, 0).
llvm-svn: 273106
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This patch implements the variadic `lock_guard` paper.
Making `lock_guard` variadic is a ABI breaking change because the specialization `lock_guard<_Mutex>` mangles differently then when it was the primary template. This change only provides variadic `lock_guard` in ABI V2 or when `_LIBCPP_ABI_VARIADIC_LOCK_GUARD` is defined.
Note that in ABI V2 `lock_guard` must always be declared as a variadic template, even in C++03, in order to keep the ABI consistent. For this reason `lock_guard` is forward declared as a variadic template in all standard dialects and therefore depends on variadic templates being provided as an extension in C++03. All supported versions of Clang and GCC provide this extension.
Reviewers: mclow.lists
Subscribers: K-ballo, mclow.lists, cfe-commits
Differential Revision: http://reviews.llvm.org/D21260
llvm-svn: 272634
|
|
|
|
| |
llvm-svn: 271489
|
|
|
|
|
|
|
| |
LWG issue 2218 relaxes a restriction on how containers can call
Alloc::construct(...) and Alloc::destroy(...). There is nothing new to test.
llvm-svn: 271477
|
|
|
|
| |
llvm-svn: 271476
|
|
|
|
| |
llvm-svn: 271475
|
|
|
|
| |
llvm-svn: 271473
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Exactly what it sounds like.
I plan to commit this in a couple of days assuming no objections.
Reviewers: mclow.lists, EricWF
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D20799
llvm-svn: 271464
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: See http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0033r1.html
Reviewers: mclow.lists
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D19254
llvm-svn: 271449
|