Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Guard libc++ specific c.__invariants() tests in LIBCPP_ASSERT macros | Eric Fiselier | 2016-04-28 | 77 | -524/+195 |
| | | | | llvm-svn: 267947 | ||||
* | Recommit r263036 with additional inlining, so that it will continue to work ↵ | Marshall Clow | 2016-04-07 | 1 | -2/+25 |
| | | | | | | with existing system dylibs. Implements LWG#2583 llvm-svn: 265706 | ||||
* | Revert r263036, it's ABI-breaking. | Nico Weber | 2016-03-11 | 1 | -25/+2 |
| | | | | llvm-svn: 263246 | ||||
* | Implement LWG#2579: Inconsistency wrt Allocators in basic_string assignment ↵ | Marshall Clow | 2016-03-09 | 1 | -1/+33 |
| | | | | | | vs. basic_string::assign llvm-svn: 263042 | ||||
* | Implement LWG#2583: There is no way to supply an allocator for ↵ | Marshall Clow | 2016-03-09 | 1 | -2/+25 |
| | | | | | | basic_string(str, pos) llvm-svn: 263036 | ||||
* | Remove a couple tabs that crept in | Marshall Clow | 2016-03-08 | 1 | -2/+2 |
| | | | | llvm-svn: 262932 | ||||
* | Implement P0272R1: Give 'std::string' a non-const '.data()' member function | Marshall Clow | 2016-03-08 | 1 | -10/+36 |
| | | | | llvm-svn: 262931 | ||||
* | More string fixes for noexcept cases. Apparently I didn't get them all in ↵ | Marshall Clow | 2016-01-20 | 4 | -0/+8 |
| | | | | | | r258281. llvm-svn: 258291 | ||||
* | Fix up the tests I added for string exceptions to be skipped when exceptions ↵ | Marshall Clow | 2016-01-20 | 4 | -0/+8 |
| | | | | | | are disabled llvm-svn: 258279 | ||||
* | Fix PR#25973 : 'basic_string::assign(InputIt, InputIt) doesn't provide the ↵ | Marshall Clow | 2016-01-13 | 36 | -38/+150 |
| | | | | | | strong exception safety guarantee'. This turned out to be a pervasive problem in <string>, which required a fair amount of rework. Add in an optimization for when iterators provide noexcept increment/comparison/assignment/dereference (which covers many of the iterators in libc++). Reviewed as http://reviews.llvm.org/D15862 llvm-svn: 257682 | ||||
* | Add static_assert to set/multiset/map/multimap/forward_list/deque that the ↵ | Marshall Clow | 2015-11-26 | 1 | -0/+18 |
| | | | | | | allocator's value_type match the container's value_type. vector/unordered/list/string already do this. Add tests for all the containers to verify this. llvm-svn: 254119 | ||||
* | Make it possible to build a no-exceptions variant of libcxx. | Asiri Rathnayake | 2015-11-10 | 27 | -0/+27 |
| | | | | | | | | | | | | 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 | ||||
* | Implement LWG#2063, and update the issues links to point to the github ↵ | Marshall Clow | 2015-10-05 | 1 | -0/+6 |
| | | | | | | generated pages llvm-svn: 249325 | ||||
* | implement more of N4258 - Cleaning up noexcept in the standard library. ↵ | Marshall Clow | 2015-08-18 | 1 | -4/+52 |
| | | | | | | Specifically add new noexcept stuff to vector and string's move-assignment operations llvm-svn: 245330 | ||||
* | Implement the first part of N4258: 'Cleaning up noexcept in the Library'. ↵ | Marshall Clow | 2015-07-13 | 1 | -0/+31 |
| | | | | | | This patch deals with swapping containers, and implements a more strict noexcept specification (a conforming extension) than the standard mandates. llvm-svn: 242056 | ||||
* | While applying N4258, I forgot about LWG#2455, which modified the ↵ | Marshall Clow | 2015-06-04 | 1 | -5/+0 |
| | | | | | | modifications. Correct those - h/t: Howard llvm-svn: 239004 | ||||
* | More of N4258 implementation. Mark all of our test_allocators as noexcept ↵ | Marshall Clow | 2015-06-03 | 4 | -3/+56 |
| | | | | | | constructible. Make the constructors for basic_string noexcept all the time (under C++14). Update tests to reflect the new world order. More to come. llvm-svn: 238957 | ||||
* | Add tests to ensure that string/vector/array have contiguous iterators - ↵ | Marshall Clow | 2015-05-26 | 2 | -12/+53 |
| | | | | | | which they did. Mark N4284 as complete llvm-svn: 238233 | ||||
* | Use generic feature name for sanitizers that replace new and delete | Eric Fiselier | 2015-03-10 | 1 | -1/+1 |
| | | | | llvm-svn: 231841 | ||||
* | Walter Brown sent a list of tests which needed 'additional includes' to ↵ | Marshall Clow | 2015-01-09 | 6 | -0/+6 |
| | | | | | | match what was in the standard. Added these includes to the tests. No changes to the library or test results. llvm-svn: 225541 | ||||
* | Move test into test/std subdirectory. | Eric Fiselier | 2014-12-20 | 181 | -0/+36931 |
llvm-svn: 224658 |