summaryrefslogtreecommitdiffstats
path: root/libcxx
Commit message (Collapse)AuthorAgeFilesLines
* http://llvm.org/bugs/show_bug.cgi?id=10469Howard Hinnant2011-07-242-0/+4
| | | | llvm-svn: 135897
* Optimization of string::operator< by M.E. O'Neill. Discussion in ↵Howard Hinnant2011-07-241-1/+11
| | | | | | http://llvm.org/bugs/show_bug.cgi?id=10461 llvm-svn: 135893
* http://llvm.org/bugs/show_bug.cgi?id=10461Howard Hinnant2011-07-241-92/+2
| | | | llvm-svn: 135873
* http://llvm.org/bugs/show_bug.cgi?id=10455Howard Hinnant2011-07-231-2/+2
| | | | llvm-svn: 135854
* Test commitDave Zarzycki2011-07-221-0/+1
| | | | llvm-svn: 135774
* 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-184-2/+40
| | | | | | 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
* http://llvm.org/bugs/show_bug.cgi?id=10390Howard Hinnant2011-07-183-0/+51
| | | | llvm-svn: 135393
* Revert locale for apple back to original design, getting rid of now useless ↵Howard Hinnant2011-07-151-88/+18
| | | | | | helper *_l functions llvm-svn: 135272
* _LIBCXX_STABLE_APPLE_ABI -> _LIBCPP_STABLE_APPLE_ABIHoward Hinnant2011-07-151-3/+3
| | | | llvm-svn: 135271
* 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
* Reapply 135035 with proper conditional inclusion, hopefully solvingAlexis Hunt2011-07-153-181/+449
| | | | | | issues with it. llvm-svn: 135246
* http://llvm.org/bugs/show_bug.cgi?id=10353Howard Hinnant2011-07-141-0/+6
| | | | llvm-svn: 135125
* http://llvm.org/bugs/show_bug.cgi?id=10346Howard Hinnant2011-07-132-0/+58
| | | | llvm-svn: 135045
* Reverted to 134947. Once I got into it, I discovered there were too many ↵Howard Hinnant2011-07-133-309/+181
| | | | | | problems to fix in 135035. llvm-svn: 135044
* Implement the __nolocale functions properly so that they will work onAlexis Hunt2011-07-133-181/+309
| | | | | | | | | | | all platforms. Unfortunately a lot of this remains conditionally compiled so as not to break Apple's ABI. The new _LIBCPP_LOCALE__L_EXTENSIONS macro can be defined on other platforms that support _l suffixes for all functions in order to use them. llvm-svn: 135035
* Make sure that __time_put constructors properly on non-Apple platforms.Alexis Hunt2011-07-121-0/+4
| | | | llvm-svn: 134947
* Toralf Niebuhr: This is just a tiny patch fixing some small (probably copy & ↵Howard Hinnant2011-07-091-3/+3
| | | | | | paste) errors. llvm-svn: 134843
* Make vector<bool>::reference and const_reference publicHoward Hinnant2011-07-091-2/+2
| | | | llvm-svn: 134815
* Don't assume that wctype produces a nice mask on all platforms. OnAlexis Hunt2011-07-092-0/+50
| | | | | | glibc, for instance, it's a const char *. llvm-svn: 134787
* Conditionally wrap the changes from r134781.Alexis Hunt2011-07-094-0/+44
| | | | llvm-svn: 134783
* Implement generalized table lookups for upper, lower, and characterAlexis Hunt2011-07-093-69/+66
| | | | | | | | | | | | | | | | traits. To the best of my knowledge, this will not break the ABI for Apple. However, it does introduce three publicly visible (although with reserved name) functions that will fail to link against the just-shipped Apple version of libc++. Since they are not used in any inline functions, no actual breakage should occur. If Howard doesn't want to put undefined functions (even internal ones) into a header, they could be surrounded by additional conditional compilation. llvm-svn: 134781
* provide ~future_error() definitionHoward Hinnant2011-07-081-0/+4
| | | | llvm-svn: 134663
* Fix typoAlexis Hunt2011-07-071-1/+1
| | | | llvm-svn: 134650
* Fixing up some ABI issuesHoward Hinnant2011-07-078-133/+61
| | | | 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
* Fix uninitialized loop counter. http://llvm.org/bugs/show_bug.cgi?id=10278Howard Hinnant2011-07-051-1/+1
| | | | llvm-svn: 134405
* Make the default Makefile less destructive: John McCallHoward Hinnant2011-07-041-0/+3
| | | | llvm-svn: 134375
* http://llvm.org/bugs/show_bug.cgi?id=10248Howard Hinnant2011-07-023-3/+30
| | | | llvm-svn: 134327
* http://llvm.org/bugs/show_bug.cgi?id=10250Howard Hinnant2011-07-021-0/+47
| | | | llvm-svn: 134325
* Changed constraints on pair and tuple constructors from is_convertible to ↵Howard Hinnant2011-07-012-10/+6
| | | | | | is_constructible. llvm-svn: 134252
* Correct for new rules regarding implicitly deleted special members. ↵Howard Hinnant2011-07-018-10/+242
| | | | | | http://llvm.org/bugs/show_bug.cgi?id=10191 llvm-svn: 134248
* _STD -> _VSTD to avoid macro clash on windowsHoward Hinnant2011-06-3058-1567/+1567
| | | | llvm-svn: 134190
* Patch by Petteri Räty, http://llvm.org/bugs/show_bug.cgi?id=8992Howard Hinnant2011-06-301-101/+134
| | | | llvm-svn: 134155
* test for pair piecewise constructionHoward Hinnant2011-06-221-1/+34
| | | | llvm-svn: 133667
* Teach libc++ about the addressof() overloads it needs to work withDouglas Gregor2011-06-222-0/+49
| | | | | | | | | | | | | | | | | Objective-C Automatic Reference Counting, where Objective-C object pointers can have several different qualifiers (__strong, __weak, __autoreleasing, __unsafe_unretained). These addressof() overloads are only provided in ARC mode, and the __weak variant is conditionalized on having weak-reference support in the ARC runtime. For historical reasons, Clang provides these definitions itself, and defines the macro _LIBCPP_PREDEFINED_OBJC_ARC_ADDRESSOF to note when it as done so. The code belongs here, and this redundancy will be eliminated in the future. Addresses <rdar://problem/9658274>. llvm-svn: 133656
* Add instructions for -U__STRICT_ANSI__ for Mac OS 10.6Howard Hinnant2011-06-221-0/+6
| | | | llvm-svn: 133616
* More fixes: One of my fixes to type_traits earlier today was incorrect, so ↵Howard Hinnant2011-06-193-46/+46
| | | | | | that is reverted. Recently clang appears to have tightened up its definition of is_convertible and that has caused some failures in [unordered_][multi]map. I've switched to using is_constructible to restablish the desired functionality in [unordered_][multi]map. Specifically, inserting rvalues of move-only types for the keys. llvm-svn: 133402
* Miscellaneous minor fixes in <type_traits>Howard Hinnant2011-06-191-2/+16
| | | | llvm-svn: 133401
* Provide names for template and function parameters in forward declarations. ↵Howard Hinnant2011-06-1412-56/+62
| | | | | | The purpose is to aid automated documentation tools. llvm-svn: 133008
* more Apple build system tweaksNick Kledzik2011-06-091-5/+6
| | | | llvm-svn: 132819
* Update CREDITS.TXTHoward Hinnant2011-06-091-0/+4
| | | | llvm-svn: 132780
* Move nullptr_t to unversioned namespace: Sean HuntHoward Hinnant2011-06-051-4/+9
| | | | llvm-svn: 132665
* noexcept for <stack>. This completes noexcept for Chapter 23 [containers].Howard Hinnant2011-06-046-10/+187
| | | | llvm-svn: 132652
* noexcept for <queue>.Howard Hinnant2011-06-0411-42/+393
| | | | llvm-svn: 132650
* noexcept for <unordered_set>.Howard Hinnant2011-06-0411-78/+826
| | | | llvm-svn: 132647
OpenPOWER on IntegriCloud