Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Implement full support for non-pointer pointers in custom allocators for ↵ | Howard Hinnant | 2013-06-24 | 55 | -26/+1555 | |
| | | | | | | forward_list. llvm-svn: 184759 | |||||
* | Implement full support for non-pointer pointers in custom allocators for deque. | Howard Hinnant | 2013-06-23 | 46 | -275/+915 | |
| | | | | llvm-svn: 184673 | |||||
* | Test case for r183481. | Howard Hinnant | 2013-06-07 | 1 | -0/+20 | |
| | | | | llvm-svn: 183522 | |||||
* | After years of telling people: 'If you ever find any of my code that ↵ | Howard Hinnant | 2013-04-18 | 1 | -0/+7 | |
| | | | | | | self-move-assigns, send me a bug report.' Somebody finally took me up on it. vector::erase(begin(), begin()) does a self-move-assign of every element in the vector, leaving all of those elements in an unspecified state. I checked the other containers for this same bug and did not find it. Added test case. llvm-svn: 179760 | |||||
* | I believe this finishes up debug mode for list. The testing is a little ↵ | Howard Hinnant | 2013-04-16 | 3 | -0/+36 | |
| | | | | | | weak, but I believe all of the functionality is there. Certainly enough for people to checkout and start beating up on. llvm-svn: 179632 | |||||
* | Fix bug in __libcpp_db::__iterator_copy. Add debug test for swaping lists. | Howard Hinnant | 2013-04-05 | 1 | -0/+42 | |
| | | | | llvm-svn: 178892 | |||||
* | More list debug mode tests. | Howard Hinnant | 2013-04-05 | 6 | -0/+228 | |
| | | | | llvm-svn: 178873 | |||||
* | More work on debug mode for list. | Howard Hinnant | 2013-04-05 | 6 | -0/+76 | |
| | | | | llvm-svn: 178819 | |||||
* | Some debug test cases for list. | Howard Hinnant | 2013-04-02 | 8 | -0/+324 | |
| | | | | llvm-svn: 178565 | |||||
* | The 3rd test in shrink_to_fit.pass.cpp can't possibly pass if exceptions are ↵ | Howard Hinnant | 2013-03-29 | 1 | -0/+2 | |
| | | | | | | disabled, so #ifdef'ing out the test. llvm-svn: 178350 | |||||
* | Revert r178075, "Tighten up the iterator requirements ...", it breaks LLVM | Daniel Dunbar | 2013-03-27 | 1 | -7/+0 | |
| | | | | | | bootstrap with libc++. llvm-svn: 178116 | |||||
* | Tighten up the iterator requirements for the vector member templates. This ↵ | Howard Hinnant | 2013-03-26 | 1 | -0/+7 | |
| | | | | | | is especially important for the constructors so that is_constructible<vector<T>, I, I> gives the right answer when T can not be constructed from *I. Test case included for this latter point. llvm-svn: 178075 | |||||
* | Another vector debug mode test, and a static test on Allocator::value_type. ↵ | Howard Hinnant | 2013-03-26 | 1 | -0/+8 | |
| | | | | | | This partially addresses http://llvm.org/bugs/show_bug.cgi?id=15576. llvm-svn: 178064 | |||||
* | More vector debug tests. | Howard Hinnant | 2013-03-26 | 6 | -0/+103 | |
| | | | | llvm-svn: 178033 | |||||
* | Simply debug mode tests per Dmitri Gribenko's suggestion. | Howard Hinnant | 2013-03-26 | 21 | -148/+21 | |
| | | | | llvm-svn: 178026 | |||||
* | Need one more swap overload for swapping two lvalue vector<bool>::reference's. | Howard Hinnant | 2013-03-26 | 1 | -0/+10 | |
| | | | | llvm-svn: 178016 | |||||
* | Added debug tests for indexing, pop_back and both forms of erase. Added an ↵ | Howard Hinnant | 2013-03-25 | 9 | -0/+405 | |
| | | | | | | improved error message for erasing a single element with end(). llvm-svn: 177929 | |||||
* | Remove some erroneous code I was using to debug debug mode. | Howard Hinnant | 2013-03-25 | 12 | -24/+0 | |
| | | | | llvm-svn: 177908 | |||||
* | Debug mode tests for vector::front and back. | Howard Hinnant | 2013-03-25 | 4 | -0/+192 | |
| | | | | llvm-svn: 177904 | |||||
* | More vector::iterator debug mode tests. Run by adding to OPTIONS ↵ | Howard Hinnant | 2013-03-25 | 8 | -7/+346 | |
| | | | | | | -D_LIBCPP_DEBUG2=1. llvm-svn: 177897 | |||||
* | Debug mode: learning to crawl. I need to set up some tests that actually ↵ | Howard Hinnant | 2013-03-25 | 1 | -0/+53 | |
| | | | | | | test that the debug mode is working, but that won't cause problems when debug mode isn't on. This is my first prototype of such a test. It should call std::terminate() because it's comparing iterators from different containers. And std::terminate() is rigged up to exit normally. If debug mode fails, and doesn't call terminate, then the program asserts. The test is a no-op if _LIBCPP_DEBUG2 is not defined or is defined to be 0. llvm-svn: 177892 | |||||
* | Fix exception safety bug in vector::push_back | Howard Hinnant | 2013-01-11 | 6 | -0/+438 | |
| | | | | llvm-svn: 172250 | |||||
* | Move common header files into a 'support' directory; make 'testit' include ↵ | Marshall Clow | 2013-01-05 | 20 | -20/+20 | |
| | | | | | | -I to that directory; rename 'iterators.h' to 'iterator_test.h'; remove hard-coded paths to include files from more than 350 source files llvm-svn: 171594 | |||||
* | Removed several more different 'iterators.h' files in libcxx/test | Marshall Clow | 2013-01-03 | 20 | -20/+20 | |
| | | | | llvm-svn: 171452 | |||||
* | Added static_assert to std::get<N>(std::array) calls to catch "out of ↵ | Marshall Clow | 2012-12-18 | 1 | -0/+25 | |
| | | | | | | bounds" calls llvm-svn: 170435 | |||||
* | constexpr applied to <array>. | Howard Hinnant | 2012-07-20 | 1 | -0/+14 | |
| | | | | llvm-svn: 160564 | |||||
* | Add test for self-referencing emplace test. | Howard Hinnant | 2012-07-09 | 1 | -0/+34 | |
| | | | | llvm-svn: 159921 | |||||
* | Another installment on debug mode. This addresses list. However this ↵ | Howard Hinnant | 2011-09-27 | 1 | -0/+3 | |
| | | | | | | should be considered a temporary state. The API of the debug database and how vector and list use it, is unsatisfactory at the moment. It is both inefficient and overly verbose. I wanted to get this functionality checked in though. In the next day or so I'll refactor what is there in an attempt to streamline things. llvm-svn: 140660 | |||||
* | The vector test suite now passes for no-debug, debug-lite and debug-regular | Howard Hinnant | 2011-09-16 | 1 | -0/+3 | |
| | | | | llvm-svn: 139930 | |||||
* | Fixed PR10574: http://llvm.org/bugs/show_bug.cgi?id=10574 | Howard Hinnant | 2011-08-12 | 25 | -50/+50 | |
| | | | | llvm-svn: 137522 | |||||
* | noexcept for <vector>. This also includes installing move_if_noexcept() ↵ | Howard Hinnant | 2011-06-03 | 10 | -0/+523 | |
| | | | | | | into vector. llvm-svn: 132577 | |||||
* | noexcept for <list>. | Howard Hinnant | 2011-06-03 | 5 | -0/+264 | |
| | | | | llvm-svn: 132562 | |||||
* | noexcept for <forward_list>. | Howard Hinnant | 2011-06-03 | 6 | -0/+268 | |
| | | | | llvm-svn: 132553 | |||||
* | After sleeping on it I've decided that all special members that can be ↵ | Howard Hinnant | 2011-06-03 | 2 | -0/+98 | |
| | | | | | | noexcept, should be declared so. The client has the traits to detect and branch on this information, and it is often an important optimization. Give deque() a noexcept. Add test for deque default constructor and deque destructor. llvm-svn: 132549 | |||||
* | Add noexcept tests for deque. | Howard Hinnant | 2011-06-03 | 3 | -0/+162 | |
| | | | | llvm-svn: 132523 | |||||
* | Bug 9096 - list::iterator not default constructible | Howard Hinnant | 2011-01-28 | 6 | -1/+238 | |
| | | | | llvm-svn: 124508 | |||||
* | LWG 1191 | Howard Hinnant | 2010-11-17 | 1 | -0/+29 | |
| | | | | llvm-svn: 119545 | |||||
* | license change | Howard Hinnant | 2010-11-16 | 239 | -478/+478 | |
| | | | | llvm-svn: 119395 | |||||
* | Fix two test bugs | Howard Hinnant | 2010-10-14 | 1 | -2/+2 | |
| | | | | llvm-svn: 116515 | |||||
* | sync with N3126 | Howard Hinnant | 2010-09-05 | 83 | -3100/+0 | |
| | | | | llvm-svn: 113101 | |||||
* | Changed __config to react to all of clang's currently documented has_feature ↵ | Howard Hinnant | 2010-09-04 | 97 | -237/+237 | |
| | | | | | | flags, and renamed _LIBCPP_MOVE to _LIBCPP_HAS_NO_RVALUE_REFERENCES to be more consistent with the rest of the libc++'s flags, and with clang's nomenclature. llvm-svn: 113086 | |||||
* | Fixing whitespace problems | Howard Hinnant | 2010-08-22 | 130 | -186/+179 | |
| | | | | llvm-svn: 111755 | |||||
* | US 117 | Howard Hinnant | 2010-08-21 | 2 | -13/+26 | |
| | | | | llvm-svn: 111745 | |||||
* | LWG 1278 | Howard Hinnant | 2010-08-19 | 3 | -6/+6 | |
| | | | | llvm-svn: 111532 | |||||
* | Wiped out some non-ascii characters that snuck into the copyright. | Howard Hinnant | 2010-05-11 | 322 | -322/+322 | |
| | | | | llvm-svn: 103516 | |||||
* | libcxx initial import | Howard Hinnant | 2010-05-11 | 322 | -0/+15549 | |
llvm-svn: 103490 |