summaryrefslogtreecommitdiffstats
path: root/contrib/libc++
Commit message (Collapse)AuthorAgeFilesLines
* MFC r275366:dim2014-12-041-7/+59
| | | | | | | | | | | | | | Pull in r209785 from upstream libc++ trunk (by Marshall Clow): Fix a problem exposed by r208825, which caused bind (and other bits of libc++) to stop working. And tests This fix is needed to support clang 3.5.0 and higher, which are more strict about forming pointer-to-function types with cv-qualifiers or ref-qualifiers. See also the upstream PR <http://llvm.org/PR19742> and <http://llvm.org/viewvc/llvm-project?rev=208825&view=rev> Reported by: amdmi3
* MFC r270416:dim2014-08-261-1/+1
| | | | | | | | | | | In r260015, I renamed several identifiers to avoid -Wsystem-header warnings. In r261283, I imported libc++ 3.4 release, but this contained one identifier that had not been renamed yet, leading to a compilation error when using -std=c++1y. Fix the compilation error by correctly renaming the identifier. Reported by: rcarter@pinyon.org PR: base/192139
* MFC r269740:dim2014-08-111-0/+4
| | | | | | | | | | | | | Pull in r214736 from upstream libc++ trunk (by Marshall Clow): Fix PR#20520 - predicate called too many times in list::remove_if. Add tests for list, forward_list, and the std::remove_if algorithm This fixes an issue where std::list<>::remove_if() and remove() could erroneously visit elements twice. Reported by: Dominic Fandrey <kamikaze@bsdforen.de> PR: 192303
* MFC r263120:dim2014-03-172-20/+28
| | | | | | | | | | | Pull in r201021 from upstream libc++ trunk: Fix for PR18735 - self-assignment for map/multimap gives incorrect results in C++03 (Please note: that is an LLVM PR identifier, not a FreeBSD one.) Reported by: rakuco
* MFC r262805:dim2014-03-092-5/+5
| | | | | | | | | | | | | | | Pull in r199848 from upstream libc++ trunk: Const qualify __mem_fn call operator QOI improvement. Differential Revision: http://llvm-reviews.chandlerc.com/D2059 This should help with building recent versions of Mesa. See also: https://bugs.freedesktop.org/show_bug.cgi?id=75505 Reported by: dumbbell
* MFC r261283:dim2014-03-0595-3225/+7194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Import libc++ 3.4 release. This contains a lot of bugfixes, and some preliminary support for C++1y. MFC r261604: HEAD is not buildable for the past day. Commit a 'quick fix' in order to permit buildworld to complete. Reviewed by: theraven MFC r261608: Apply a cleaner solution for the sign warnings that can occur when compiling libc++'s <locale> header with -Wsystem-headers on. This has also been submitted upstream. Reported by: asomers MFC r261801: An ABI incompatibility crept into the libc++ 3.4 import in r261283. It was caused by upstream libc++ commit r194536, which aimed to make the headers more standards-compliant, by making std::pair's copy constructor trivial. Unfortunately, this could cause certain C++ applications using shared libraries built against the previous version of libc++ to crash. Fix the ABI incompatibility by making std::pair's copy constructor non-trivial again. Please note: Any C++ applications or shared libraries built with libc++ between r261283 and this revision should be recompiled. Reported by: stefanf
* MFC r260015:dim2014-01-041-46/+46
| | | | | | | | | In libc++'s type_traits header, avoid warnings (activated by our use of -Wsystem-headers) about potential keyword compatibility problems, by adding a __libcpp prefix to the applicable identifiers. Upstream is still debating about this, but we need it now, to be able to import clang 3.4.
* ename internal function test() to avoid name clashes withdecke2013-10-061-3/+3
| | | | | | | | common macros. This fixes ports like mysql 5.6 which has an internal macro called test. Approved by: re (gjb) Discussed with: theraven
* Import new libcxxrt / libc++. This brings some bug fixes, including a ↵theraven2013-07-1034-1502/+2246
| | | | potential race condition for static initialisers.
* Fix warnings from newer clang versions about constexpr member functionsdim2013-05-281-4/+4
| | | | | | | | | | not being implicitly const in libc++'s <chrono> header. The warnings have been introduced because of new language rules recently adopted by the C++ WG. More info: <http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2013/n3598.html> MFC after: 3 days
* Merge libc++ trunk r180598. Contains several minor cleanups and bugdim2013-04-2783-1090/+1601
| | | | | | fixes, no major changes. MFC after: 2 weeks
* Import new libc++ to head. Various small fixes and cleanups.theraven2013-02-0726-214/+659
| | | | MFC after: 2 weeks
* Merge new libc++ into head.theraven2012-11-293-10/+27
|
* Pull in r168610 from upstream libc++:dim2012-11-263-0/+23
| | | | | | | | | | | | | | | When using libc++ headers on FreeBSD, in combination with -std=c++98, -ansi or -std=c++03, the long long type is not supported. So in this case, several functions and types, like lldiv_t, strtoll(), are not declared. This should make it possible to use the libc++ headers in c++98 mode. Note: libc++ is originally designed as a c++0x or higher library, so you should still take care when using it with c++98 or c++03. Noted by: Yamaya Takashi <yamayan@kbh.biglobe.ne.jp> MFC after: 1 week
* Import new version of libc++ into base.theraven2012-11-1328-203/+213
|
* Fix two -Wsystem-header warnings in libc++ that were exposed by the newdim2012-10-221-3/+2
| | | | | | ATF import. These have also been sent upstream. MFC after: 1 month
* Import libc++ trunk r165949. Among other improvements and bug fixes,dim2012-10-2268-1561/+2188
| | | | | | | | | | this has many visibility problems fixed, which should help with compiling certain ports that exercise C++11 mode (i.e. Firefox). Also, belatedly add the LICENSE.TXT and accompanying CREDITS.TXT files, which are referred to in all the source files. MFC after: 1 month
* Fix dangling else in libc++'s __bit_reference header. This has alsodim2012-06-011-0/+4
| | | | | | been sent upstream. MFC after: 3 days
* Import new version of libc++. Among other improvements, this comes with antheraven2012-05-0315-1036/+1071
| | | | | <atomic> header that works with clang 3.1 (and, importantly, the pre-3.1 snapshot currently in head)
* Import a slightly newer libc++, with some bugs fixed that were found by runningtheraven2012-03-144-10/+19
| | | | | | the test suite on FreeBSD. Approved by: dim (mentor)
* Import new versions of libcxxrt and libc++.theraven2012-03-1474-3688/+5446
| | | | | | Please tests any C++ code you care about with -stdlib=libc++! Approved by: dim (mentor)
* Import libc++ / libcxxrt into base. Not build by default yet (usetheraven2011-11-25124-0/+111887
MK_LIBCPLUSPLUS=yes to enable). This is a work-in-progress. It works for me, but is not guaranteed to work for anyone else and may eat your dog. To build C++ using libc++, add -stdlib=libc++ to your CXX and LD flags. Bug reports welcome, bug fixes even more welcome... Approved by: dim (mentor)
OpenPOWER on IntegriCloud