summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/iterators
Commit message (Collapse)AuthorAgeFilesLines
* Void cast runtime-unused variables. Patch from STL@microsoft.comEric Fiselier2016-05-025-0/+5
| | | | llvm-svn: 268284
* Rename a few tests that had typos in their names. No functional change. ↵Marshall Clow2016-04-231-0/+0
| | | | | | Thanks to STL for the catch llvm-svn: 267287
* Fix LWG issue #2106: move_iterators returning prvaluesEric Fiselier2016-04-221-1/+40
| | | | llvm-svn: 267091
* Implement LWG#680, which was missed lo these many moons ago, and was ↵Marshall Clow2016-04-111-2/+2
| | | | | | reported as bug #27259. As a drive-by fix, replace the hand-rolled equivalent to addressof in __wrap_iter with the real thing. llvm-svn: 265914
* Mark some test XFAIL for GCC 4.9 due to missing is_trivial* traitsEric Fiselier2016-01-202-0/+6
| | | | llvm-svn: 258287
* Implement LWG#2353: std::next is over-constrainedMarshall Clow2015-11-071-0/+4
| | | | llvm-svn: 252407
* Suppress clang warnings in some testsEric Fiselier2015-08-301-0/+4
| | | | llvm-svn: 246399
* A few bits of N2994 didn't get fully implemented a long time ago. Thanks to ↵Marshall Clow2015-04-165-8/+79
| | | | | | STL@microsoft.com for the bug report llvm-svn: 235134
* [libcxx] Make __wrap_iter work with gcc.Nico Weber2015-01-271-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | he following snippet doesn't build when using gcc and libc++: #include <string> void f(const std::string& s) { s.begin(); } #include <vector> void AppendTo(const std::vector<char>& v) { v.begin(); } The problem is that __wrap_iter has a private constructor. It lists vector<> and basic_string<> as friends, but gcc seems to ignore this for vector<> for some reason. Declaring vector before the friend declaration in __wrap_iter is enough to work around this problem, so do that. With this patch, I'm able to build chromium/android with libc++. Without it, two translation units fail to build. (iosfwd already provides a forward declaration of basic_string.) As far as I can tell, this is due to a gcc bug, which I filed as https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64816. Fixes PR22355. http://reviews.llvm.org/D7201 llvm-svn: 227226
* Cleaning up the test suite; remove some includes of non-standard file <__config>Marshall Clow2015-01-184-11/+0
| | | | llvm-svn: 226411
* One more #include request in the test suite from Walter BrownMarshall Clow2015-01-111-0/+1
| | | | llvm-svn: 225609
* Move test into test/std subdirectory.Eric Fiselier2014-12-20168-0/+6216
llvm-svn: 224658
OpenPOWER on IntegriCloud