| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 253271
|
|
|
|
| |
llvm-svn: 253257
|
|
|
|
|
|
| |
Add tests to make sure we meet these requirements. Since we met the stricter ones, no code change needed to meet the looser ones.
llvm-svn: 253223
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes a small omission in libcxx that prevents libcxx being built when
-DLIBCXX_ENABLE_EXCEPTIONS=0 is specified.
This patch adds XFAILS to all those tests that are currently failing
on the new -fno-exceptions library variant. Follow-up patches will
update the tests (progressively) to cope with the new library variant.
Change-Id: I4b801bd8d8e4fe7193df9e55f39f1f393a8ba81a
llvm-svn: 252598
|
|
|
|
| |
llvm-svn: 248987
|
|
|
|
|
|
|
|
|
|
|
|
| |
__rebind_pointer.
Currently we need an #ifdef branch every time we use pointer traits to rebind a pointer because
it is done differently in C++11 and C++03. This patch introduces the __rebind_pointer utility to
clean this up.
Also add a test that list and it's iterators can be instantiated with incomplete element types.
llvm-svn: 245806
|
|
|
|
|
|
| |
Specifically add new noexcept stuff to vector and string's move-assignment operations
llvm-svn: 245330
|
|
|
|
| |
llvm-svn: 243392
|
|
|
|
| |
llvm-svn: 242634
|
|
|
|
| |
llvm-svn: 242633
|
|
|
|
| |
llvm-svn: 242632
|
|
|
|
| |
llvm-svn: 242630
|
|
|
|
| |
llvm-svn: 242629
|
|
|
|
|
|
| |
This patch was reviewed as D10859. http://reviews.llvm.org/D10859
llvm-svn: 242617
|
|
|
|
|
|
| |
noexcept in C++1z
llvm-svn: 242148
|
|
|
|
|
|
| |
This patch deals with swapping containers, and implements a more strict noexcept specification (a conforming extension) than the standard mandates.
llvm-svn: 242056
|
|
|
|
| |
llvm-svn: 241555
|
|
|
|
|
|
| |
http://reviews.llvm.org/D10669
llvm-svn: 241539
|
|
|
|
|
|
| |
the transparent comparators don't actually call them. Fix those tests, too. Now one of them is failing, due to a missing const in <map>. Add that (twice). Next step is to do the same for <unordered_map>
llvm-svn: 241091
|
|
|
|
|
|
| |
deque::erase/pop_front/pop_back
llvm-svn: 239196
|
|
|
|
|
|
| |
modifications. Correct those - h/t: Howard
llvm-svn: 239004
|
|
|
|
| |
llvm-svn: 238990
|
|
|
|
| |
llvm-svn: 238234
|
|
|
|
|
|
| |
which they did. Mark N4284 as complete
llvm-svn: 238233
|
|
|
|
| |
llvm-svn: 237527
|
|
|
|
| |
llvm-svn: 236950
|
|
|
|
| |
llvm-svn: 236949
|
|
|
|
|
|
| |
reallocation has to happen
llvm-svn: 233641
|
|
|
|
|
|
| |
- vector::assign where a reallocation was not required had no tests. Add some
llvm-svn: 233557
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of !defined(_LIBCPP_HAS_NO_VARIADICS) block.
Summary:
There is no reason to guard `tuple_size`, `tuple_element` and `get<I>(...)` for pair and array inside of `<__tuple>` so that they are only available when we have variadic templates.
This requires there be redundant declarations and definitions. It also makes it easy to get things wrong.
For example the following code should compile (and does in c++11).
```
#define _LIBCPP_HAS_NO_VARIADICS
#include <array>
int main()
{
static_assert((std::tuple_size<std::array<int, 10> volatile>::value == 10), "");
}
```
This patch lifts the non-variadic parts of `tuple_size`, `tuple_types`, and `get<I>(...)` to the top of `<__tuple>` where they don't require variadic templates. This patch also removes `<__tuple_03>` because there is no longer a need for it.
Reviewers: danalbert, K-ballo, mclow.lists
Reviewed By: mclow.lists
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D7774
llvm-svn: 232492
|
|
|
|
| |
llvm-svn: 231841
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: Fix suggested by @mclow.lists on D8109. Store the size of the un-poisoned vector upon construction instead of calculating it later.
Reviewers: titus, mclow.lists, kcc, EricWF
Reviewed By: EricWF
Subscribers: mclow.lists, cfe-commits
Differential Revision: http://reviews.llvm.org/D8172
llvm-svn: 231729
|
|
|
|
| |
llvm-svn: 231704
|
|
|
|
|
|
| |
bug because there's more work to do here
llvm-svn: 231672
|
|
|
|
|
|
| |
part of the standard any more.
llvm-svn: 231311
|
|
|
|
|
|
| |
Patch from eugenis
llvm-svn: 231119
|
|
|
|
| |
llvm-svn: 228711
|
|
|
|
|
|
| |
-pedantic-errors
llvm-svn: 228706
|
|
|
|
|
|
| |
support/, remove the other, and update all the tests that included them. No functionality change.
llvm-svn: 227370
|
|
|
|
|
|
| |
passing an allocator that compares different, we were not calling the destructor of the elements in the moved-from container.
llvm-svn: 227359
|
|
|
|
|
|
| |
References PR#17980
llvm-svn: 227131
|
|
|
|
|
|
| |
iterators. Update tests to exercise this case.
llvm-svn: 226847
|
|
|
|
|
|
| |
match what was in the standard. Added these includes to the tests. No changes to the library or test results.
llvm-svn: 225541
|
|
|
|
|
|
| |
and the tests test for that. STL @ MS pointed out that the standard doesn't requie these objects to derive from unary_function, and so the tests should not require that either. Change the tests to check for the embedded typedefs - which ARE required. No change to the library.
llvm-svn: 225403
|
|
llvm-svn: 224658
|