Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | noexcept applied to <random>. | Howard Hinnant | 2012-07-20 | 1 | -1/+1 |
| | | | | llvm-svn: 160579 | ||||
* | Teach libc++ to check for libc++abi and use its features if they're available. | Richard Smith | 2012-07-11 | 1 | -8/+11 |
| | | | | llvm-svn: 160038 | ||||
* | Appy constexpr to <memory>. Picked up a few missing noexcepts as well. | Howard Hinnant | 2012-07-07 | 1 | -0/+1 |
| | | | | llvm-svn: 159902 | ||||
* | Protect use of alignas against older versions of clang | Howard Hinnant | 2012-05-31 | 1 | -14/+14 |
| | | | | llvm-svn: 157764 | ||||
* | libc++: only #include <cxxabi.h> if it exists. This allows libc++ to build | Richard Smith | 2012-04-19 | 1 | -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 Hinnant | 2012-04-03 | 1 | -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 Hinnant | 2012-04-03 | 1 | -0/+2 |
| | | | | llvm-svn: 153968 | ||||
* | Alter the terminal streams such that they do not get added to the atexit ↵ | Howard Hinnant | 2012-03-16 | 1 | -25/+38 |
| | | | | | | chain, and thus never get destructed. llvm-svn: 152926 | ||||
* | Undo some overzealous #ifdefs for LIBCXXRT. | David Chisnall | 2012-03-14 | 2 | -10/+11 |
| | | | | llvm-svn: 152718 | ||||
* | Fix moneypunct_byname algorithm to more accurately represent C locales in C++. | Jeffrey Yasskin | 2012-03-10 | 1 | -67/+235 |
| | | | | llvm-svn: 152501 | ||||
* | Change some smart_ptr == 0 to smart_ptr == nullptr. Fixes ↵ | Howard Hinnant | 2012-03-07 | 1 | -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 Hinnant | 2012-02-29 | 1 | -0/+1 |
| | | | | llvm-svn: 151728 | ||||
* | I'm reverting one of the changes made to exception.cpp in r151717. I'm ↵ | Howard Hinnant | 2012-02-29 | 1 | -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 Chisnall | 2012-02-29 | 4 | -0/+418 |
| | | | | llvm-svn: 151721 | ||||
* | Solaris port. Currently sees around 200 test failures, mostly related to | David Chisnall | 2012-02-29 | 3 | -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 Chisnall | 2012-02-29 | 3 | -30/+31 |
| | | | | llvm-svn: 151717 | ||||
* | At least temporarily move operator new/delete from the abi back to here. ↵ | Howard Hinnant | 2012-02-25 | 1 | -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 Hinnant | 2012-02-20 | 1 | -1/+2 |
| | | | | llvm-svn: 150964 | ||||
* | Initialize all the fields of struct tm before passing it to strftime. One of ↵ | Howard Hinnant | 2012-02-19 | 1 | -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 abi | Howard Hinnant | 2012-02-17 | 1 | -0/+9 |
| | | | | llvm-svn: 150835 | ||||
* | Fix up narrowing conversions in switch statement. | Howard Hinnant | 2012-02-08 | 1 | -4/+4 |
| | | | | llvm-svn: 150082 | ||||
* | Make attributes on definition consistent with those on declaration. | Howard Hinnant | 2012-02-03 | 1 | -0/+1 |
| | | | | llvm-svn: 149701 | ||||
* | Prepare for running on top of new libc++abi. | Howard Hinnant | 2012-02-02 | 3 | -13/+35 |
| | | | | llvm-svn: 149634 | ||||
* | Explicitly convert int to future_errc. Fixes ↵ | Howard Hinnant | 2012-02-02 | 1 | -1/+1 |
| | | | | | | http://llvm.org/bugs/show_bug.cgi?id=11428 llvm-svn: 149630 | ||||
* | Fix memory leak in converting weak_ptr to shared_ptr | Howard Hinnant | 2011-12-27 | 1 | -3/+0 |
| | | | | llvm-svn: 147298 | ||||
* | Quash a whole bunch of warnings | Howard Hinnant | 2011-12-01 | 13 | -169/+185 |
| | | | | llvm-svn: 145624 | ||||
* | More windows port work by Ruben Van Boxem | Howard Hinnant | 2011-10-22 | 1 | -6/+6 |
| | | | | llvm-svn: 142732 | ||||
* | de-tabbify | Howard Hinnant | 2011-10-17 | 3 | -6/+6 |
| | | | | llvm-svn: 142237 | ||||
* | Windows port work by Ruben Van Boxem | Howard Hinnant | 2011-09-29 | 2 | -1/+95 |
| | | | | llvm-svn: 140805 | ||||
* | Windows patch work by Ruben Van Boxem | Howard Hinnant | 2011-09-29 | 1 | -43/+49 |
| | | | | llvm-svn: 140781 | ||||
* | Attempted locale refactoring. _LIBCPP_LOCALE__L_EXTENSIONS now should be ↵ | Howard Hinnant | 2011-09-28 | 1 | -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 Boxem | Howard Hinnant | 2011-09-28 | 1 | -2/+11 |
| | | | | llvm-svn: 140728 | ||||
* | Another installment on debug mode. This addresses list. However this ↵ | Howard Hinnant | 2011-09-27 | 1 | -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 Boxem | Howard Hinnant | 2011-09-23 | 4 | -2/+76 |
| | | | | llvm-svn: 140384 | ||||
* | Partial Windows port by Ruben Van Boxem | Howard Hinnant | 2011-09-22 | 1 | -0/+22 |
| | | | | llvm-svn: 140328 | ||||
* | Correct change to exception.cpp from r140245 | Howard Hinnant | 2011-09-21 | 1 | -1/+1 |
| | | | | llvm-svn: 140253 | ||||
* | Fixes for FreeBSD, including some fairly obvious copy-and-paste errors. | David Chisnall | 2011-09-21 | 2 | -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 Hinnant | 2011-09-16 | 1 | -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 mode | Howard Hinnant | 2011-09-16 | 1 | -6/+2 |
| | | | | llvm-svn: 139913 | ||||
* | Initial checkin for debug mode (version 2) | Howard Hinnant | 2011-09-14 | 1 | -0/+462 |
| | | | | llvm-svn: 139711 | ||||
* | Correct misspelling:_LIBCPP_APPLE_STABLE_ABI -> _LIBCPP_STABLE_APPLE_ABI | Howard Hinnant | 2011-07-31 | 1 | -3/+3 |
| | | | | llvm-svn: 136597 | ||||
* | Configure to get along with 2.9 clang | Howard Hinnant | 2011-07-29 | 1 | -0/+1 |
| | | | | llvm-svn: 136526 | ||||
* | Reapply 135035 with proper conditional inclusion, hopefully solving | Alexis Hunt | 2011-07-15 | 1 | -124/+183 |
| | | | | | | issues with it. llvm-svn: 135246 | ||||
* | http://llvm.org/bugs/show_bug.cgi?id=10353 | Howard Hinnant | 2011-07-14 | 1 | -0/+6 |
| | | | | llvm-svn: 135125 | ||||
* | http://llvm.org/bugs/show_bug.cgi?id=10346 | Howard Hinnant | 2011-07-13 | 1 | -0/+22 |
| | | | | llvm-svn: 135045 | ||||
* | Reverted to 134947. Once I got into it, I discovered there were too many ↵ | Howard Hinnant | 2011-07-13 | 1 | -43/+124 |
| | | | | | | problems to fix in 135035. llvm-svn: 135044 | ||||
* | Implement the __nolocale functions properly so that they will work on | Alexis Hunt | 2011-07-13 | 1 | -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 Hinnant | 2011-07-09 | 1 | -3/+3 |
| | | | | | | paste) errors. llvm-svn: 134843 | ||||
* | Don't assume that wctype produces a nice mask on all platforms. On | Alexis Hunt | 2011-07-09 | 1 | -0/+46 |
| | | | | | | glibc, for instance, it's a const char *. llvm-svn: 134787 | ||||
* | Conditionally wrap the changes from r134781. | Alexis Hunt | 2011-07-09 | 1 | -0/+36 |
| | | | | llvm-svn: 134783 |