summaryrefslogtreecommitdiffstats
path: root/libcxx/include/version
Commit message (Collapse)AuthorAgeFilesLines
* [libc++] [P1612] Add missing feature-test macro __cpp_lib_endian.Louis Dionne2019-11-141-0/+2
| | | | | | Thanks to Marek Kurdej for the patch. Differential Revision: https://reviews.llvm.org/D70221
* P0722R3: Implement library support for destroying deleteEric Fiselier2019-05-231-1/+3
| | | | | | | | | | | | | | | | | | Summary: This provides the `std::destroying_delete_t` declaration in C++2a and after. (Even when the compiler doesn't support the language feature). However, the feature test macro `__cpp_lib_destroying_delete` is only defined when we have both language support and C++2a. Reviewers: ldionne, ckennelly, serge-sans-paille, EricWF Reviewed By: EricWF Subscribers: dexonsmith, riccibruno, christof, jwakely, jdoerfert, mclow.lists, ldionne, libcxx-commits Differential Revision: https://reviews.llvm.org/D55840 llvm-svn: 361572
* Implement midpoint for floating point types. Reviewed as ↵Marshall Clow2019-04-251-0/+2
| | | | | | https://reviews.llvm.org/D61014. llvm-svn: 359184
* Add std::is_constant_evaluated.Eric Fiselier2019-04-241-1/+3
| | | | | | | | | Clang recently added __builtin_is_constant_evaluated() and GCC 9.0 has it as well. This patch adds support for it in libc++. llvm-svn: 359119
* Update more file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-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 feature test macros for atomics/mutexes without threadingEric Fiselier2019-01-161-4/+12
| | | | llvm-svn: 351291
* Implement feature test macros using a script.Eric Fiselier2019-01-161-91/+187
| | | | | | | | | | | | | | | | | | | | Summary: This patch implements all the feature test macros libc++ currently supports, as specified by the standard or cppreference prior to C++2a. The tests and `<version>` header are generated using a script. The script contains a table of each feature test macro, the headers it should be accessible from, and its values of each dialect of C++. When a new feature test macro is added or needed, the table should be updated and the script re-run. Reviewers: mclow.lists, jfb, serge-sans-paille Reviewed By: mclow.lists Subscribers: arphaman, jfb, ldionne, libcxx-commits Differential Revision: https://reviews.llvm.org/D56750 llvm-svn: 351286
* When resolving a merge conflict, I put something inside an #ifdef. Fixed.Marshall Clow2018-12-141-1/+1
| | | | llvm-svn: 349181
* Implement P1209 - Adopt Consistent Container Erasure from Library ↵Marshall Clow2018-12-141-0/+4
| | | | | | Fundamentals 2 for C++20. Reviewed as https://reviews.llvm.org/D55532 llvm-svn: 349178
* Second part of P0482 - char8_t. Reviewed as https://reviews.llvm.org/D55308Marshall Clow2018-12-111-0/+5
| | | | llvm-svn: 348828
* Second half of C++17's splicing maps and setsErik Pilkington2018-10-311-0/+1
| | | | | | | | | | This commit adds a merge member function to all the map and set containers, which splices nodes from the source container. This completes support for P0083r3. Differential revision: https://reviews.llvm.org/D48896 llvm-svn: 345744
* Update commnents to reflect the changes for LWG#3127. NFCMarshall Clow2018-10-221-1/+1
| | | | llvm-svn: 344953
* Update commnents to reflect the changes for LWG#3122. NFCMarshall Clow2018-10-221-0/+1
| | | | llvm-svn: 344950
* Implement the infrastructure for feature-test macros. Very few actual ↵Marshall Clow2018-09-121-0/+13
| | | | | | feature test macros, though. Reviewed as: https://reviews.llvm.org/D51955 llvm-svn: 342073
* Update the synopsis for <version>. NFCMarshall Clow2018-09-111-0/+79
| | | | llvm-svn: 341990
* Implement P0754R2: The <version> header.Marshall Clow2018-04-031-0/+25
llvm-svn: 329075
OpenPOWER on IntegriCloud