Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [libc++] Avoid UB in the no-exceptions mode in a few places | Louis Dionne | 2019-02-12 | 1 | -10/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | Summary: A few places in the library seem to behave unexpectedly when the library is compiled or used with exceptions disabled. For example, not throwing an exception when a pointer is NULL can lead us to dereference the pointer later on, which is UB. This patch fixes such occurences. It's hard to tell whether there are other places where the no-exceptions mode misbehaves like this, because the replacement for throwing an exception does not always seem to be abort()ing, but at least this patch will improve the situation somewhat. See http://lists.llvm.org/pipermail/libcxx-dev/2019-January/000172.html Reviewers: mclow.lists, EricWF Subscribers: christof, jkorous, dexonsmith, libcxx-commits Differential Revision: https://reviews.llvm.org/D57761 llvm-svn: 353850 | ||||
* | Update more file headers across all of the LLVM projects in the monorepo | Chandler Carruth | 2019-01-19 | 1 | -4/+3 |
| | | | | | | | | | | | | | | | | | | to reflect the new license. These used slightly different spellings that defeated my regular expressions. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351648 | ||||
* | Fix typos | Alp Toker | 2014-05-15 | 1 | -1/+1 |
| | | | | llvm-svn: 208869 | ||||
* | Only use Clang pragma when compiling with clang. | Joerg Sonnenberger | 2013-04-27 | 1 | -0/+2 |
| | | | | llvm-svn: 180678 | ||||
* | Fix a few warnings/errors for compiling with -fno-exceptions. | Howard Hinnant | 2013-03-28 | 1 | -0/+4 |
| | | | | llvm-svn: 178267 | ||||
* | Saleem Abdulrasool: avoid hardcoding buffer lengths. | Howard Hinnant | 2012-12-27 | 1 | -1/+0 |
| | | | | llvm-svn: 171169 | ||||
* | Saleem Abdulrasool: Silence warning and reduce unnecessary code in hash.cpp. | Howard Hinnant | 2012-12-27 | 1 | -8/+13 |
| | | | | llvm-svn: 171167 | ||||
* | Quash a whole bunch of warnings | Howard Hinnant | 2011-12-01 | 1 | -1/+2 |
| | | | | llvm-svn: 145624 | ||||
* | license change | Howard Hinnant | 2010-11-16 | 1 | -2/+2 |
| | | | | llvm-svn: 119395 | ||||
* | Secure __next_prime from overflowing | Howard Hinnant | 2010-10-29 | 1 | -0/+24 |
| | | | | llvm-svn: 117650 | ||||
* | Experimenting with a new forward fomulation (kudos Daniel Kruegler), updated ↵ | Howard Hinnant | 2010-09-13 | 1 | -148/+198 |
| | | | | | | insert iterators to work better with pproxies, and doubled the speed of __next_prime. llvm-svn: 113731 | ||||
* | Fixing whitespace problems | Howard Hinnant | 2010-08-22 | 1 | -2/+2 |
| | | | | llvm-svn: 111751 | ||||
* | Wiped out some non-ascii characters that snuck into the copyright. | Howard Hinnant | 2010-05-11 | 1 | -1/+1 |
| | | | | llvm-svn: 103516 | ||||
* | libcxx initial import | Howard Hinnant | 2010-05-11 | 1 | -0/+485 |
llvm-svn: 103490 |