| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 278904
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The expected 'filesystem::path::compare' result states that for different
path only result sign contains the information about passed arguments
(not its integer value). This is due it uses the output of other compare
functions (basic_string_view and char_traits) without further handling and
char_traits uses memcmp for final buffer comparison.
However for GLIBC on AArch64 the code:
int ret = memcmp ("b/a/c", "a/b/c", 1);
Results in '64' where for x86_64 it results in '1'.
This patch fixes the expected 'filesystem::path::compare' by normalizing
all the results before assert comparison.
llvm-svn: 278745
|
| |
|
|
|
|
| |
legal. Fixes bug 28936
llvm-svn: 278387
|
| |
|
|
|
|
|
|
|
| |
Some filesystems track atime always. This relaxes the test to accept either a
filesystem which does not accurately track atime or does track the atime
accurately. This allows the test to pass on filesystems mounted with
`strictatime` on Linux or on macOS.
llvm-svn: 278357
|
| |
|
|
| |
llvm-svn: 278323
|
| |
|
|
| |
llvm-svn: 278319
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This patch removes the static_assert for non-enum types in the primary hash template. Instead non-enum types create a hash<T> specialization that is not constructible nor callable.
See also:
* http://cplusplus.github.io/LWG/lwg-active.html#2543
* https://llvm.org/bugs/show_bug.cgi?id=28917
Reviewers: mclow.lists, EricWF
Subscribers: mehdi_amini, cfe-commits
Differential Revision: https://reviews.llvm.org/D23331
llvm-svn: 278300
|
| |
|
|
| |
llvm-svn: 278282
|
| |
|
|
|
|
|
| |
The hard link count that stat reports are different between normal hfs and the
case sensitive variant. Accept both.
llvm-svn: 278191
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
The synopsis in C++11 subclause 28.8 [re.regex] has:
```
basic_regex(const charT* p, size_t len,
flag_type f = regex_constants::ECMAScript);
```
The default argument is added to libc++ by this change.
Reviewers: mclow.lists, rsmith, hubert.reinterpretcast
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D22702
Reapplies r277966.
Patch by Jason Liu!
llvm-svn: 277968
|
| |
|
|
| |
llvm-svn: 277967
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
The synopsis in C++11 subclause 28.8 [re.regex] has:
```
basic_regex(const charT* p, size_t len,
flag_type f = regex_constants::ECMAScript);
```
The default argument is added to libc++ by this change.
Reviewers: mclow.lists, rsmith, hubert.reinterpretcast
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D22702
llvm-svn: 277966
|
| |
|
|
| |
llvm-svn: 277574
|
| |
|
|
| |
llvm-svn: 277573
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
In the synopsis in C++11 subclause 28.8 [re.regex], `basic_regex` is
specified to have member typedefs `traits_type` and `string_type`. This
change adds them to libc++.
Reviewers: mclow.lists, rsmith, hubert.reinterpretcast
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D22698
Patch by Jason Liu!
llvm-svn: 277526
|
| |
|
|
| |
llvm-svn: 276751
|
| |
|
|
|
|
| |
https://reviews.llvm.org/D21343.
llvm-svn: 276750
|
| |
|
|
| |
llvm-svn: 276608
|
| |
|
|
| |
llvm-svn: 276605
|
| |
|
|
|
|
|
| |
I think I've solved issues with is_assignable and references to incomplete
types. The updated patch adds tests for this case.
llvm-svn: 276603
|
| |
|
|
| |
llvm-svn: 276599
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This is a breaking change. The SFINAE required is instantiated the second
the class is instantiated, and this can cause hard SFINAE errors
when applied to references to incomplete types. Ex.
struct IncompleteType;
extern IncompleteType it;
std::tuple<IncompleteType&> t(it); // SFINAE will blow up.
llvm-svn: 276598
|
| |
|
|
| |
llvm-svn: 276595
|
| |
|
|
|
|
|
|
| |
In C++03 mode evaluating the SFINAE can cause a hard error due to
access control violations. This is a problem because the SFINAE
is evaluated as soon as the class is instantiated, and not later.
llvm-svn: 276594
|
| |
|
|
| |
llvm-svn: 276593
|
| |
|
|
|
|
| |
STL@microsoft.com
llvm-svn: 276591
|
| |
|
|
|
|
| |
See D21820 for more information (https://reviews.llvm.org/D21820).
llvm-svn: 276590
|
| |
|
|
| |
llvm-svn: 276589
|
| |
|
|
| |
llvm-svn: 276588
|
| |
|
|
| |
llvm-svn: 276587
|
| |
|
|
| |
llvm-svn: 276585
|
| |
|
|
| |
llvm-svn: 276584
|
| |
|
|
| |
llvm-svn: 276583
|
| |
|
|
| |
llvm-svn: 276581
|
| |
|
|
|
|
| |
STL@microsoft.com
llvm-svn: 276580
|
| |
|
|
| |
llvm-svn: 276578
|
| |
|
|
|
|
| |
STL@microsoft.com
llvm-svn: 276576
|
| |
|
|
| |
llvm-svn: 276548
|
| |
|
|
| |
llvm-svn: 276547
|
| |
|
|
| |
llvm-svn: 276546
|
| |
|
|
| |
llvm-svn: 276545
|
| |
|
|
| |
llvm-svn: 276544
|
| |
|
|
|
|
|
| |
That paper also has changes to any/optional but those will
be implemented later.
llvm-svn: 276537
|
| |
|
|
| |
llvm-svn: 276511
|
| |
|
|
| |
llvm-svn: 276273
|
| |
|
|
| |
llvm-svn: 276272
|
| |
|
|
|
|
| |
Also comment out a _LIBCPP_ASSERT that gcc4.9 was complaining about. Will revisit that later.
llvm-svn: 276241
|
| |
|
|
|
|
| |
Reviewed as https://reviews.llvm.org/D21459
llvm-svn: 276238
|
| |
|
|
| |
llvm-svn: 276230
|