summaryrefslogtreecommitdiffstats
path: root/libcxx/test
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Bring noexcept for <string> inline with other containers.Howard Hinnant2011-06-035-0/+238
| | | | llvm-svn: 132573
* noexcept for <list>.Howard Hinnant2011-06-035-0/+264
| | | | llvm-svn: 132562
* noexcept for <forward_list>.Howard Hinnant2011-06-036-0/+268
| | | | llvm-svn: 132553
* After sleeping on it I've decided that all special members that can be ↵Howard Hinnant2011-06-032-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 Hinnant2011-06-033-0/+162
| | | | llvm-svn: 132523
* noexcept for <memory>. I've added a few extension noexcept to: ↵Howard Hinnant2011-05-281-1/+1
| | | | | | allocator_traits<A>::deallocate, allocaate<T>::deallocate, return_temporary_buffer, and default_delete<T>::operator()(T*) const. My rationale was: If a std-dicated noexcept function needs to call another std-defined function, that called function must be noexcept. We're all a little new to noexcept, so things like this are to be expected. Also included fix for broken __is_swappable trait pointed out by Marc Glisse, thanks Marc|. And fixed a test case for is_nothrow_destructible. Destructors are now noexcept by default| llvm-svn: 132261
* Simplied bind using __invoke. In the process, found and fixed a couple of ↵Howard Hinnant2011-05-192-0/+19
| | | | | | bugs. C++11 only. llvm-svn: 131667
* This commit was accidental. Reverting.Howard Hinnant2011-05-181-2/+2
| | | | llvm-svn: 131514
* A bunch of future tests got invalidated with the latest updates to thread. ↵Howard Hinnant2011-05-1717-47/+47
| | | | | | Fixed the tests. llvm-svn: 131509
* Fix and beef up test bug for move_if_noexceptHoward Hinnant2011-05-171-3/+11
| | | | llvm-svn: 131483
* Clean up a bunch of warnings in the tests, 3 of which actually turned out to ↵Howard Hinnant2011-05-1729-4/+54
| | | | | | be test bugs. llvm-svn: 131479
* Brought call_once variadic call up to current spec, which allows move-only ↵Howard Hinnant2011-05-161-0/+20
| | | | | | functors and move-only arguments, but disallows functors with non-const lvalue reference parameters. llvm-svn: 131414
* Brought thread variadic constructor up to current spec, which allows ↵Howard Hinnant2011-05-161-0/+20
| | | | | | move-only functors and move-only arguments, but disallows functors with non-const lvalue reference parameters. llvm-svn: 131413
* Redesign of result_of to handle reference-qualified member functionsHoward Hinnant2011-05-161-0/+4
| | | | llvm-svn: 131407
* Warning suppression in test.Howard Hinnant2011-05-141-2/+0
| | | | llvm-svn: 131344
OpenPOWER on IntegriCloud