summaryrefslogtreecommitdiffstats
path: root/libcxx/test
Commit message (Collapse)AuthorAgeFilesLines
...
* update test for explicit bool operator.Howard Hinnant2012-02-251-3/+3
| | | | llvm-svn: 151461
* Silence some warnings in a test.Howard Hinnant2012-02-251-0/+2
| | | | llvm-svn: 151451
* Hook up to the new clang __is_trivially_constructible and ↵Howard Hinnant2012-02-242-11/+19
| | | | | | __is_trivially_assignable traits. Fixes r10925427 and http://llvm.org/bugs/show_bug.cgi?id=12038. llvm-svn: 151406
* Use Xcode relative compilers when possibleDave Zarzycki2012-02-221-1/+6
| | | | llvm-svn: 151108
* Modernize relational operators for shared_ptr and unique_ptr. This includes ↵Howard Hinnant2012-02-212-0/+142
| | | | | | adding support for nullptr, and using less<T*>. Fixes http://llvm.org/bugs/show_bug.cgi?id=12056. llvm-svn: 151084
* Relax pointer output test to accept glibc's output. Patch supplied by ↵Howard Hinnant2012-02-191-1/+1
| | | | | | Jeffrey Yasskin. llvm-svn: 150927
* Exercise rvalue arguements to make_shared for C++11 mode.Howard Hinnant2012-02-181-0/+11
| | | | llvm-svn: 150887
* tuple was accidentally lacking a valid copy assignment operator. It went ↵Howard Hinnant2012-02-152-2/+2
| | | | | | undetected because I had failed to test assigning from a const lvalue. This fixes http://llvm.org/bugs/show_bug.cgi?id=11921 llvm-svn: 150613
* Do not parse sign if a sign is not the next legal character when parsing ↵Howard Hinnant2012-02-152-0/+24
| | | | | | floating point from an input stream. Fixes http://llvm.org/bugs/show_bug.cgi?id=11871 llvm-svn: 150609
* Remove quotes from locale name identifier. Credit Edward Meewis.Howard Hinnant2011-12-151-1/+1
| | | | llvm-svn: 146655
* Starting using murmur2 when combining multiple size_t's into a single hash, ↵Howard Hinnant2011-12-051-1/+2
| | | | | | and also for basic_string. Also made hash<thread::id> ever so slighly more portable. I had to tweak one test which is questionable (definitely not portable) anyway. llvm-svn: 145795
* unord test fixes by Edward MeewisHoward Hinnant2011-12-0273-93/+166
| | | | llvm-svn: 145707
* Fix http://llvm.org/bugs/show_bug.cgi?id=11428. Fix provided by Alberto ↵Howard Hinnant2011-12-026-92/+93
| | | | | | Ganesh Barbati llvm-svn: 145698
* Fix ratio arithmetic with zeroHoward Hinnant2011-11-012-0/+36
| | | | llvm-svn: 143519
* Fix <rdar://problem/10256836> getline of an empty string mistakenly causes ↵Howard Hinnant2011-10-091-2/+8
| | | | | | failure llvm-svn: 141506
* Fix <rdar://problem/10255403> match_results::begin() is off by oneHoward Hinnant2011-10-082-4/+4
| | | | llvm-svn: 141494
* Windows porting work by Ruben Van BoxemHoward Hinnant2011-10-0390-343/+558
| | | | llvm-svn: 141003
* Updated testit to run on Windows and fresh Windows results by Ruben Van BoxemHoward Hinnant2011-10-011-6/+15
| | | | llvm-svn: 140950
* Another installment on debug mode. This addresses list. However this ↵Howard Hinnant2011-09-271-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
* Fix test bugs found by David ChisnallHoward Hinnant2011-09-217-15/+15
| | | | llvm-svn: 140271
* Fix locales used in re tests.David Chisnall2011-09-215-13/+13
| | | | llvm-svn: 140265
* Remove undefines in cstdio test. Fix these properly rather than bodging the ↵David Chisnall2011-09-211-24/+0
| | | | | | tests. llvm-svn: 140264
* More +.UTF-8 fixes.David Chisnall2011-09-2120-31/+31
| | | | llvm-svn: 140262
* Fix failure found by David ChisnallHoward Hinnant2011-09-211-129/+129
| | | | llvm-svn: 140255
* More fixes to the tests. Add UTF-8 encoding to all locales that don't ↵David Chisnall2011-09-217-19/+43
| | | | | | specify one. Undefine some stdio.h macros that break the tests. llvm-svn: 140252
* Fully-qualify some more locales in the tests...David Chisnall2011-09-215-11/+11
| | | | llvm-svn: 140251
* Don't check STREAMS error numbers on systems that don't implement the ↵David Chisnall2011-09-212-0/+16
| | | | | | obsolete (as described in POSIX2008) XSI STREAMS extension. llvm-svn: 140248
* More locale cleanups. Fully specify locales in iostream tests.David Chisnall2011-09-214-22/+22
| | | | llvm-svn: 140247
* Localisation test fixes to make the tests pass on FreeBSD, which does not ↵David Chisnall2011-09-2150-283/+297
| | | | | | | | provide shortened forms of the various locales (e.g. en_US, rather than en_US.UTF-8 / en_US.ISO{whatever}). Reviewed by Howard Hinnant. llvm-svn: 140242
* The vector test suite now passes for no-debug, debug-lite and debug-regularHoward Hinnant2011-09-161-0/+3
| | | | llvm-svn: 139930
* Reimplemented much of <istream> such that single character extractions do ↵Howard Hinnant2011-09-015-10/+10
| | | | | | not check to see if this is the last character in the stream and thus never set eofbit. This fixes http://llvm.org/bugs/show_bug.cgi?id=10817 . This fix requires a recompiled libc++.dylib to be fully implemented. The recompiled libc++.dylib is ABI compatible with that shipped on Lion. llvm-svn: 138961
* Fixed PR10574: http://llvm.org/bugs/show_bug.cgi?id=10574Howard Hinnant2011-08-12107-205/+226
| | | | llvm-svn: 137522
* Correct test.Howard Hinnant2011-07-191-0/+1
| | | | llvm-svn: 135460
* Adjust two tests to account for a nasty change in copying behaviorAlexis Hunt2011-07-184-0/+18
| | | | | | | between C++03 and C++0x and its effect on exceptions, and another two to not test move construction when rvalue references are not available. llvm-svn: 135445
* Make all fstream tests use tmpnam if creating files, rather thanAlexis Hunt2011-07-1824-156/+205
| | | | | | hard-coded names. llvm-svn: 135444
* Do a litmus test of using tmpnam to generate safe temporary file namesAlexis Hunt2011-07-181-4/+6
| | | | | | for the tests that open new data files. llvm-svn: 135422
* Given that __underlying_type is now available in clang, implementAlexis Hunt2011-07-181-1/+15
| | | | | | std::underlying_type. llvm-svn: 135410
* Give A an explicitly non-throwing destructor so that B's destructor isAlexis Hunt2011-07-181-1/+1
| | | | | | | | | | itself non-throwing. Since nested_exception's destructor is non-throwing, if B's destructor is not, this causes an error in C++03 mode due to the overriding function having a more lax specification. This did not occur in C++0x mode as A's destructor was implicitly non-throwing. llvm-svn: 135400
* Fix wchar tests by not assuming that tm is complete and by using theAlexis Hunt2011-07-152-4/+12
| | | | | | proper va_list time on non-darwin platforms. llvm-svn: 135247
* Fixing up some ABI issuesHoward Hinnant2011-07-071-4/+14
| | | | llvm-svn: 134639
* <inttypes.h> does not necessarily include <stdint.h>. Accordingly, doAlexis Hunt2011-07-061-286/+0
| | | | | | not test for this. llvm-svn: 134531
* Correct for new rules regarding implicitly deleted special members. ↵Howard Hinnant2011-07-012-2/+2
| | | | | | http://llvm.org/bugs/show_bug.cgi?id=10191 llvm-svn: 134248
* test for pair piecewise constructionHoward Hinnant2011-06-221-1/+34
| | | | llvm-svn: 133667
* noexcept for <stack>. This completes noexcept for Chapter 23 [containers].Howard Hinnant2011-06-045-0/+148
| | | | llvm-svn: 132652
* noexcept for <queue>.Howard Hinnant2011-06-0410-0/+300
| | | | llvm-svn: 132650
* noexcept for <unordered_set>.Howard Hinnant2011-06-0410-0/+690
| | | | llvm-svn: 132647
* noexcept for <unordered_map>.Howard Hinnant2011-06-0410-0/+690
| | | | llvm-svn: 132646
* noexcept for <set>. Plus a few fixes to noexcept for <map>.Howard Hinnant2011-06-0421-12/+548
| | | | llvm-svn: 132640
* noexcept for <map>.Howard Hinnant2011-06-0410-0/+536
| | | | llvm-svn: 132639
* noexcept for <vector>. This also includes installing move_if_noexcept() ↵Howard Hinnant2011-06-0310-0/+523
| | | | | | into vector. llvm-svn: 132577
OpenPOWER on IntegriCloud