| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
This patch merges the test python package with the newly
created package in utils.
llvm-svn: 294651
|
|
|
|
|
|
|
|
|
| |
Libc++ frequently creates and uses utilities written in python.
Currently there are python modules under both libcxx/test and
libcxx/util. My goal with these changes is to consolidate them
into a single package under libcxx/utils/libcxx.
llvm-svn: 294644
|
|
|
|
|
|
|
|
|
|
| |
A static assertion was misfiring since it checked
is_callable<Visitor, decltype(__variant_alt<T>.value)>. However
the decltype expression doesn't capture the value category as
required. This patch applies extra braces to decltype to fix
that.
llvm-svn: 294612
|
|
|
|
|
|
|
|
|
|
| |
Filesystems are not required to maintain a hard link count consistent
with number of subdirectories. For example, on btrfs all directories
have nlink==1. Account for that in the test.
Differential Revision: https://reviews.llvm.org/D29706
llvm-svn: 294431
|
|
|
|
| |
llvm-svn: 294417
|
|
|
|
|
|
| |
internals
llvm-svn: 294391
|
|
|
|
| |
llvm-svn: 294355
|
|
|
|
| |
llvm-svn: 294353
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reviewers: EricWF
Reviewed By: EricWF
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D29209
llvm-svn: 294350
|
|
|
|
|
|
| |
in c++17. Use shuffle() instead. No change to libc++, just the tests.
llvm-svn: 294328
|
|
|
|
|
|
| |
change.
llvm-svn: 294194
|
|
|
|
|
|
|
|
| |
In addition to the PR for LWG 2773 this patch also ensures
that each of std::ignores constructors or assignment operators
are constexpr.
llvm-svn: 294165
|
|
|
|
|
|
| |
No functional change, no code review.
llvm-svn: 294161
|
|
|
|
|
|
| |
No functional change, no code review.
llvm-svn: 294160
|
|
|
|
|
|
|
|
|
|
|
|
| |
When compiled with Clang for Windows, this was emitting "enumerator value
evaluates to 4294967295, which cannot be narrowed to type 'int' [-Wc++11-narrowing]".
The test should more strenuously avoid poking this ABI deficiency (and it
already has coverage for explicitly specified underlying types).
Fixes D29140.
llvm-svn: 294159
|
|
|
|
|
|
|
|
|
|
| |
prevents copy elision".
N4618 30.6.6 [futures.unique_future]/12 declares "shared_future<R> share() noexcept;".
Fixes D29139.
llvm-svn: 294158
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
libcxx's tests use various C Standard Library functions that have been
marked by MSVC's CRT as deprecated by Microsoft (not by ISO).
libcxx's usage is cromulent (just checking with decltype to see if the functions
are being dragged in by various headers as required by the Standard), so
defining _CRT_SECURE_NO_WARNINGS will silence the warnings in a targeted manner.
This needs to be defined before including any CRT headers.
Also, make this file prettier.
Fixes D29138.
llvm-svn: 294157
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
test/std/strings/string.classes/typedefs.pass.cpp
Actually test what basic_string's typedefs stand for.
test/std/utilities/meta/meta.trans/meta.trans.other/result_of11.pass.cpp
NotDerived and ND were completely unused.
test/std/utilities/utility/pairs/pairs.pair/default.pass.cpp
P2 was mistakenly not being used. Yes, that's
right: -Wunused-local-typedef CAUGHT A MISTAKE! AMAZING!
Fixes D29137.
llvm-svn: 294156
|
|
|
|
|
|
|
|
| |
These typedefs were completely unused.
Fixes D29136.
llvm-svn: 294155
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Guard typedefs and static_asserts with _LIBCPP_VERSION.
test/std/containers/sequences/vector.bool/move_assign_noexcept.pass.cpp
test/std/containers/sequences/vector.bool/move_noexcept.pass.cpp
test/std/containers/sequences/vector.bool/swap_noexcept.pass.cpp
Additionally deal with conditional compilation.
test/std/containers/associative/map/map.cons/move_noexcept.pass.cpp
test/std/containers/associative/multimap/multimap.cons/move_noexcept.pass.cpp
Additionally deal with typedefs used by other typedefs.
Fixes D29135.
llvm-svn: 294154
|
|
|
|
|
|
| |
change, and is in response to http://http://wg21.link/LWG2806, which I *expect* to be adopted in Kona. I am making this change now in anticipation, and will get it into 4.0, because (a) 4.0 is the first release with std::optional, and (b) I don't want to make an ABI-change later, when the user base should be significantly larger. Note that I didn't change std::experimental::bad_optional_access, because that's still specified to derive from std::logic_error.
llvm-svn: 294133
|
|
|
|
|
|
|
|
|
| |
N4100 states that an error shall be reported if
`!exists(p) || !is_directory(p)`. We were missing the first half of the
conditional. Invert the error and normal code paths to make the code
easier to follow.
llvm-svn: 294127
|
|
|
|
| |
llvm-svn: 294099
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
num_put::put uses %p for pointer types, but the exact format of %p is
implementation defined behavior for the C library. Compare output to
snprintf for portability.
Reviewers: EricWF, mclow.lists
Reviewed By: EricWF
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D29197
llvm-svn: 293926
|
|
|
|
|
|
| |
NFC.
llvm-svn: 293881
|
|
|
|
| |
llvm-svn: 293623
|
|
|
|
| |
llvm-svn: 293619
|
|
|
|
| |
llvm-svn: 293599
|
|
|
|
| |
llvm-svn: 292992
|
|
|
|
|
|
| |
with C++14 or before. Resolves PR31680.
llvm-svn: 292990
|
|
|
|
|
|
| |
_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR
llvm-svn: 292986
|
|
|
|
|
|
| |
will fail
llvm-svn: 292969
|
|
|
|
|
|
| |
C++17, so replicate the changes in experimental.
llvm-svn: 292962
|
|
|
|
| |
llvm-svn: 292958
|
|
|
|
|
|
| |
than test code.
llvm-svn: 292943
|
|
|
|
| |
llvm-svn: 292908
|
|
|
|
| |
llvm-svn: 292905
|
|
|
|
|
|
|
|
|
| |
Pending LIT changes are about to remove the REQUIRES-ANY keyword
in place of supporting boolean && and || within "REQUIRES". This
patch prepares libc++ for that change so that when applied
the bots don't lose their mind.
llvm-svn: 292901
|
|
|
|
| |
llvm-svn: 292823
|
|
|
|
| |
llvm-svn: 292809
|
|
|
|
| |
llvm-svn: 292806
|
|
|
|
| |
llvm-svn: 292689
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Exactly what the title says.
This patch also adds a `std::hash<nullptr_t>` specialization in C++17, but it was not added by this paper and I can't find the actual paper that adds it.
See http://wg21.link/P0513R0 for more info.
If there are no comments in the next couple of days I'll commit this
Reviewers: mclow.lists, K-ballo, EricWF
Reviewed By: EricWF
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D28938
llvm-svn: 292684
|
|
|
|
| |
llvm-svn: 292607
|
|
|
|
|
|
|
| |
The commit isn't quite right, and I want to only have to merge one
commit into 4.0
llvm-svn: 292606
|
|
|
|
| |
llvm-svn: 292605
|
|
|
|
| |
llvm-svn: 292577
|
|
|
|
| |
llvm-svn: 292541
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: This patch adjusts the newly added `msvc_stdlib_force_include.hpp` so that it also works when used with `clang++`.
Reviewers: STL_MSFT
Reviewed By: STL_MSFT
Differential Revision: https://reviews.llvm.org/D28917
llvm-svn: 292539
|
|
|
|
|
|
|
|
|
| |
No functional change; nothing includes this, instead our test harness
injects it via the /FI compiler option.
No code review; blessed in advance by EricWF.
llvm-svn: 292443
|