summaryrefslogtreecommitdiffstats
path: root/libcxx/src
Commit message (Collapse)AuthorAgeFilesLines
* noexcept applied to <random>.Howard Hinnant2012-07-201-1/+1
| | | | llvm-svn: 160579
* Teach libc++ to check for libc++abi and use its features if they're available.Richard Smith2012-07-111-8/+11
| | | | llvm-svn: 160038
* Appy constexpr to <memory>. Picked up a few missing noexcepts as well.Howard Hinnant2012-07-071-0/+1
| | | | llvm-svn: 159902
* Protect use of alignas against older versions of clangHoward Hinnant2012-05-311-14/+14
| | | | llvm-svn: 157764
* libc++: only #include <cxxabi.h> if it exists. This allows libc++ to buildRichard Smith2012-04-191-0/+4
| | | | | | | | out of the box on Linux systems. If you're building against libc++abi, you still need to make sure it can find <cxxabi.h> so it knows not to export symbols which libc++abi provides. llvm-svn: 155091
* Put std::piecewise_construct_t back into the dylib for ABI stability. When ↵Howard Hinnant2012-04-031-2/+1
| | | | | | clients are in C++11/constexpr mode this will be safely ignored because piecewise_construct is then declared with internal linkage. llvm-svn: 153981
* constexpr support for <utility>. Patch contributed by Jonathan Sauer.Howard Hinnant2012-04-031-0/+2
| | | | llvm-svn: 153968
* Alter the terminal streams such that they do not get added to the atexit ↵Howard Hinnant2012-03-161-25/+38
| | | | | | chain, and thus never get destructed. llvm-svn: 152926
* Undo some overzealous #ifdefs for LIBCXXRT.David Chisnall2012-03-142-10/+11
| | | | llvm-svn: 152718
* Fix moneypunct_byname algorithm to more accurately represent C locales in C++.Jeffrey Yasskin2012-03-101-67/+235
| | | | llvm-svn: 152501
* Change some smart_ptr == 0 to smart_ptr == nullptr. Fixes ↵Howard Hinnant2012-03-071-6/+6
| | | | | | http://llvm.org/bugs/show_bug.cgi?id=12185. llvm-svn: 152240
* Add a warning to ctype<char>::classic_table() if not implemented.Howard Hinnant2012-02-291-0/+1
| | | | llvm-svn: 151728
* I'm reverting one of the changes made to exception.cpp in r151717. I'm ↵Howard Hinnant2012-02-291-0/+4
| | | | | | unsure what the change was trying to do, but it didn't do the right thing for __APPLE__. So instead of trying to guess what was intended, I'm just putting it back the way it was. llvm-svn: 151727
* Add support files required for building on Solaris.David Chisnall2012-02-294-0/+418
| | | | llvm-svn: 151721
* Solaris port. Currently sees around 200 test failures, mostly related toDavid Chisnall2012-02-293-1/+15
| | | | | | | | | | Solaris not providing some of the locales that the test suite uses. Note: This depends on an xlocale (partial) implementation for Solaris and a couple of fixed standard headers. These will be committed to a branch later today. llvm-svn: 151720
* Some libcxxrt-compatibility cleanups (avoid defining things twice).David Chisnall2012-02-293-30/+31
| | | | llvm-svn: 151717
* At least temporarily move operator new/delete from the abi back to here. ↵Howard Hinnant2012-02-251-2/+2
| | | | | | I'm having trouble reexporting it as a weak symbol. llvm-svn: 151459
* Silence -Wmissing-field-initializers a little higher in the source.Howard Hinnant2012-02-201-1/+2
| | | | llvm-svn: 150964
* Initialize all the fields of struct tm before passing it to strftime. One of ↵Howard Hinnant2012-02-191-2/+2
| | | | | | the uninitialized fields, probably the pointer field tm_zone, was causing a segfault on linux. Patch contributed by Jeffrey Yasskin. llvm-svn: 150929
* Move typeinfos for exceptions in <stdexcept> to the abiHoward Hinnant2012-02-171-0/+9
| | | | llvm-svn: 150835
* Fix up narrowing conversions in switch statement.Howard Hinnant2012-02-081-4/+4
| | | | llvm-svn: 150082
* Make attributes on definition consistent with those on declaration.Howard Hinnant2012-02-031-0/+1
| | | | llvm-svn: 149701
* Prepare for running on top of new libc++abi.Howard Hinnant2012-02-023-13/+35
| | | | llvm-svn: 149634
* Explicitly convert int to future_errc. Fixes ↵Howard Hinnant2012-02-021-1/+1
| | | | | | http://llvm.org/bugs/show_bug.cgi?id=11428 llvm-svn: 149630
* Fix memory leak in converting weak_ptr to shared_ptrHoward Hinnant2011-12-271-3/+0
| | | | llvm-svn: 147298
* Quash a whole bunch of warningsHoward Hinnant2011-12-0113-169/+185
| | | | llvm-svn: 145624
* More windows port work by Ruben Van BoxemHoward Hinnant2011-10-221-6/+6
| | | | llvm-svn: 142732
* de-tabbifyHoward Hinnant2011-10-173-6/+6
| | | | llvm-svn: 142237
* Windows port work by Ruben Van BoxemHoward Hinnant2011-09-292-1/+95
| | | | llvm-svn: 140805
* Windows patch work by Ruben Van BoxemHoward Hinnant2011-09-291-43/+49
| | | | llvm-svn: 140781
* Attempted locale refactoring. _LIBCPP_LOCALE__L_EXTENSIONS now should be ↵Howard Hinnant2011-09-281-62/+47
| | | | | | defined if one has all of the xxx_l() functions. I've defined this for apple, freebsd and win32. _LIBCPP_HAS_DEFAULTRUNELOCALE should be defined if there is a _DefaultRuneLocale. I've defined this for apple and freebsd. The block of code we're trying to migrate away from is now under #ifdef __linux__. I've tested only on OS X. I hope I haven't broken things too badly elsewhere. Please let me know. llvm-svn: 140734
* Work on Windows port by Ruben Van BoxemHoward Hinnant2011-09-281-2/+11
| | | | llvm-svn: 140728
* Another installment on debug mode. This addresses list. However this ↵Howard Hinnant2011-09-271-31/+42
| | | | | | 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
* Work on Windows port by Ruben Van BoxemHoward Hinnant2011-09-234-2/+76
| | | | llvm-svn: 140384
* Partial Windows port by Ruben Van BoxemHoward Hinnant2011-09-221-0/+22
| | | | llvm-svn: 140328
* Correct change to exception.cpp from r140245Howard Hinnant2011-09-211-1/+1
| | | | llvm-svn: 140253
* Fixes for FreeBSD, including some fairly obvious copy-and-paste errors.David Chisnall2011-09-212-20/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libc++ now mostly works on FreeBSD with libcxxrt and this patch applied to the base system: http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20110920/e666632c/xlocale-0001.obj Summary of tests on FreeBSD: **************************************************** Results for /root/libcxx/test: using FreeBSD clang version 3.0 (trunk 135360) 20110717 Target: x86_64-unknown-freebsd9.0 Thread model: posix with -std=c++0x -stdlib=libc++ -I/root/libcxx/include -L/root/libcxx/build/lib ---------------------------------------------------- sections without tests : 1 sections with failures : 48 sections without failures: 1015 + ---- total number of sections : 1064 ---------------------------------------------------- number of tests failed : 145 number of tests passed : 4179 + ---- total number of tests : 4324 **************************************************** (Many due to this clang version not supporting C++ atomics) More fixes to follow... llvm-svn: 140245
* Doug Gregor pointed out some problems with debug mode enabled in one TU and ↵Howard Hinnant2011-09-161-4/+19
| | | | | | not another. This patch helps detect those situations and offers improved error messages to help get debug mode enabled in more TU's when it is absolutely necessary to do so. Thanks Doug. llvm-svn: 139933
* Create multilevel debug modeHoward Hinnant2011-09-161-6/+2
| | | | llvm-svn: 139913
* Initial checkin for debug mode (version 2)Howard Hinnant2011-09-141-0/+462
| | | | llvm-svn: 139711
* Correct misspelling:_LIBCPP_APPLE_STABLE_ABI -> _LIBCPP_STABLE_APPLE_ABIHoward Hinnant2011-07-311-3/+3
| | | | llvm-svn: 136597
* Configure to get along with 2.9 clangHoward Hinnant2011-07-291-0/+1
| | | | llvm-svn: 136526
* Reapply 135035 with proper conditional inclusion, hopefully solvingAlexis Hunt2011-07-151-124/+183
| | | | | | 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-131-0/+22
| | | | llvm-svn: 135045
* Reverted to 134947. Once I got into it, I discovered there were too many ↵Howard Hinnant2011-07-131-43/+124
| | | | | | problems to fix in 135035. llvm-svn: 135044
* Implement the __nolocale functions properly so that they will work onAlexis Hunt2011-07-131-124/+43
| | | | | | | | | | | 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
* Toralf Niebuhr: This is just a tiny patch fixing some small (probably copy & ↵Howard Hinnant2011-07-091-3/+3
| | | | | | paste) errors. llvm-svn: 134843
* Don't assume that wctype produces a nice mask on all platforms. OnAlexis Hunt2011-07-091-0/+46
| | | | | | glibc, for instance, it's a const char *. llvm-svn: 134787
* Conditionally wrap the changes from r134781.Alexis Hunt2011-07-091-0/+36
| | | | llvm-svn: 134783
OpenPOWER on IntegriCloud