summaryrefslogtreecommitdiffstats
path: root/libcxx/test/containers/associative/multimap
Commit message (Collapse)AuthorAgeFilesLines
* Move test into test/std subdirectory.Eric Fiselier2014-12-2047-5455/+0
| | | | llvm-svn: 224658
* Fix unused variables in tests to placate scan-build. Patch from Steve MacKenzie.Eric Fiselier2014-10-191-0/+2
| | | | llvm-svn: 220154
* Fix bug 20740 - std::set/std::map don't support heterogeneous lookup for ↵Marshall Clow2014-08-241-0/+67
| | | | | | count(). Thanks to Jim Porter for the bug report llvm-svn: 216353
* Fix some failing tests for the standard containers. The tests were failing ↵Marshall Clow2014-07-081-22/+25
| | | | | | in 32-bit mode because they assumed that std::size_type and make_unsigned<ptrdiff_t>::type were always the same type. No change to libc++, just the tests. llvm-svn: 212538
* More tests for LWG Issue #2263; this time to the associative and unordered ↵Marshall Clow2014-03-101-3/+6
| | | | | | containers. Still no changes to libc++ llvm-svn: 203480
* Implement LWG 2193. Default constructors for standard library containers are ↵Marshall Clow2014-03-051-0/+5
| | | | | | explicit. Note that libc++ already did this for string/deque/forward_list/list/vector and the unordered containers; implement it for set/multiset/map/multimap. Add tests for all the containers. Two drive-by fixes as well: add a missing explicit in <deque>, and remove a tab that snuck into a container test. This issue is also LLVM bug 15724, and resolves it. llvm-svn: 202994
* Fix for PR18735 - self-assignment for map/multimap gives incorrect results ↵Marshall Clow2014-02-081-0/+20
| | | | | | in C++03 llvm-svn: 201021
* Found six (nmostly) identical files named 'test_allocator.h' in the libcxx ↵Marshall Clow2013-12-0316-16/+16
| | | | | | test suite. Moved one to /support, made it a superset, and removed all but one of the others, and iupdated all the includes. Left the odd one (thread/futures/test_allocator.h) for later. llvm-svn: 196174
* Found two identical files named 'DefaultOnly.h' in the libcxx test suite. ↵Marshall Clow2013-12-022-2/+2
| | | | | | Moved one to /support, removed the other, and iupdated all the includes. No functionality change llvm-svn: 196118
* There were two identical files named 'min_allocator.h'. Move one of them to ↵Marshall Clow2013-11-2641-41/+41
| | | | | | /support and delete the other. Then adjust all the tests that used them to include the moved one. No functionality change. llvm-svn: 195785
* SCARY/N2913 iterator support between the multi and non-multi versions of the ↵Howard Hinnant2013-09-301-0/+24
| | | | | | associative and unordered containers. I beleive lack of support for this was accidentally recently introduced (by me) and this is fixing a regression. This time tests are put in to prevent such a regression in the future. llvm-svn: 191692
* LWG Issue #2210 Part 5 - map/multimap; no, really - the last one was ↵Marshall Clow2013-09-112-0/+65
| | | | | | set/multiset. THIS is map/multimap llvm-svn: 190474
* Second half (map/multimap) of N3657Marshall Clow2013-08-134-0/+283
| | | | llvm-svn: 188320
* N3644 tests for map/multimap/set/multiset. Drive-by NOEXCEPT for ↵Marshall Clow2013-08-081-0/+14
| | | | | | __tree_const_iterator constructor. Fix comment typos in other tests llvm-svn: 188019
* Removed extension in [unordered_][multi]map which allowed one to emplace ↵Howard Hinnant2013-07-042-12/+30
| | | | | | using just an argument for the key, as opposed to using piecewise_construct. However a bug report exposed that this created an unfortunate ambiguity. People who are currently using the extension will be notified the next time they compile, and will have to change to using piecewise_construct. There are no ABI issues with the removal of this extension. This fixes http://llvm.org/bugs/show_bug.cgi?id=16542 llvm-svn: 185666
* Implement full support for non-pointer types in custom allocators. This is ↵Howard Hinnant2013-06-1941-0/+1846
| | | | | | for the associative containers only. This work still needs to be done on the unordered and sequence containers. Fixes http://llvm.org/bugs/show_bug.cgi?id=15978 llvm-svn: 184358
* Move common header files into a 'support' directory; make 'testit' include ↵Marshall Clow2013-01-051-1/+1
| | | | | | -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/testMarshall Clow2013-01-031-1/+1
| | | | llvm-svn: 171452
* The rules for emplace in map, multimap, unordered_map and unordered_multimap ↵Howard Hinnant2012-05-252-4/+10
| | | | | | changed a while back and I'm just now updating to these new rules. In a nutshell, you've got to know you're emplacing to a pair and use one of pair's constructors. I made one extension: If you want to emplace the key and default construct the mapped_type, you can just emplace(key), as opposed to emplace(piecewise_construct, forward_as_tuple(key), forward_as_tuple()). llvm-svn: 157503
* Fixed PR10574: http://llvm.org/bugs/show_bug.cgi?id=10574Howard Hinnant2011-08-125-10/+10
| | | | llvm-svn: 137522
* noexcept for <set>. Plus a few fixes to noexcept for <map>.Howard Hinnant2011-06-045-5/+5
| | | | llvm-svn: 132640
* noexcept for <map>.Howard Hinnant2011-06-045-0/+268
| | | | llvm-svn: 132639
* Corrected tests for http://llvm.org/bugs/show_bug.cgi?id=9351Howard Hinnant2011-04-041-24/+0
| | | | llvm-svn: 128807
* ... And these wonderful tests.Howard Hinnant2011-04-031-0/+24
| | | | llvm-svn: 128797
* Bug 9096 - list::iterator not default constructibleHoward Hinnant2011-01-281-2/+4
| | | | llvm-svn: 124508
* license changeHoward Hinnant2010-11-1641-82/+82
| | | | llvm-svn: 119395
* Changed __config to react to all of clang's currently documented has_feature ↵Howard Hinnant2010-09-0412-24/+24
| | | | | | 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 problemsHoward Hinnant2010-08-2215-22/+22
| | | | llvm-svn: 111755
* Wiped out some non-ascii characters that snuck into the copyright.Howard Hinnant2010-05-1141-41/+41
| | | | llvm-svn: 103516
* libcxx initial importHoward Hinnant2010-05-1141-0/+2829
llvm-svn: 103490
OpenPOWER on IntegriCloud