summaryrefslogtreecommitdiffstats
path: root/libcxx/include/experimental
Commit message (Collapse)AuthorAgeFilesLines
...
* [libcxx] Add <experimental/chrono>Eric Fiselier2015-02-022-0/+59
| | | | | | | | | | | | | | | | | Summary: This patch adds <experimental/chrono> which only contains a single variable template. See: https://rawgit.com/cplusplus/fundamentals-ts/v1/fundamentals-ts.html#time Reviewers: jroelofs, danalbert, K-ballo, mclow.lists Reviewed By: mclow.lists Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D7352 llvm-svn: 227860
* [libcxx] Add <experimental/type_traits> for LFTSEric Fiselier2014-12-191-0/+423
| | | | | | | | | | | | | | | | Summary: This adds the <experimental/type_traits> (minus invocation traits). Mostly just the `_v` traits. Reviewers: K-ballo, mclow.lists Reviewed By: mclow.lists Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D5742 llvm-svn: 224626
* Add all the relational operators to std::experimental::optional. Also update ↵Marshall Clow2014-12-091-120/+319
| | | | | | bad_optional_access to match the Library Fundamentals draft standard. This is not all of the upcoming changes to optional, though. llvm-svn: 223775
* Replaced checking in string_view::remove_suffix/remove_prefix by ↵Marshall Clow2014-11-111-4/+2
| | | | | | _LIBCPP_ASSERT, since this is technically undefined behavior. Fixes PR#21496 llvm-svn: 221717
* Mark string_view::to_string as const. Fixes PR21428Marshall Clow2014-11-021-1/+2
| | | | llvm-svn: 221101
* Change the comment on the closing #endif to match the condition on the ↵Marshall Clow2014-10-261-1/+1
| | | | | | corresponding #ifdef. Thanks to K-ballo for the catch. No functionality change. llvm-svn: 220647
* NFC. Move definition of _LIBCPP_ASSERT into __debug header and remove ↵Eric Fiselier2014-08-102-5/+3
| | | | | | | | | | | | | | | | | | external include guards. Things done in this patch: 1. Make __debug include __config since it uses macros from it. 2. The current method of defining _LIBCPP_ASSERT is prone to redefinitions. Move the null _LIBCPP_ASSERT definition into the __debug header to prevent this. 3. Remove external <__debug> include gaurds. <__debug> guards almost all of its contents internally. There is no reason to be doing it externally. This patch should not change any functionality. llvm-svn: 215332
* NFC. Remove trailing whitespace and tabs.Eric Fiselier2014-08-101-43/+43
| | | | llvm-svn: 215326
* [libcxx] expose experimental::erased_type for all standard versions.Eric Fiselier2014-07-241-4/+0
| | | | | | | | | | | | | | Summary: The polymorphic allocator implementation would greatly benefit by defining virtual functions in the dynlib instead of inline. In order to do that some types are going to have to be available outside of c++1y. This is the first step. Reviewers: mclow.lists, EricWF Reviewed By: EricWF Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D4554 llvm-svn: 213889
* Update the synopsis and comments with the results of LWG #2255. No code to ↵Marshall Clow2014-07-231-13/+13
| | | | | | back it up at the moment; just comments llvm-svn: 213768
* [libcxx] Add <experimental/utility> header for LFTS. Eric Fiselier2014-07-171-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | Summary: This patch adds the `<experimental/utility>` header as specified in the latest draft of the library fundamentals TS. `<experimental/utility>` only contains `class erased_type`. This patch also updates the documentation to list the `erased_type` class as "initial implementation complete". Test Plan: Three test cases where added: 1. Test that `_LIBCPP_VERSION` is defined. 2. Test that `<utility>` has been included. 3. Test that `erased_type` is in the correct namespace and is constexpr default constructible. Reviewers: mclow.lists Reviewed By: mclow.lists Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D4510 llvm-svn: 213226
* string_view enhancements. Move to the correct namespace. Better constexpr ↵Marshall Clow2014-07-082-11/+36
| | | | | | support (thanks to Richard for the suggestions). Update the tests to match this. Add <experimental/__config for experimental macros/etc to live. llvm-svn: 212569
* Minor cleanup for string_view; mostly from suggestions by Richard Smith. ↵Marshall Clow2014-07-021-18/+19
| | | | | | Also, make the tests pass under c++03 llvm-svn: 212185
* Formatting improvements in the <string_view> synopsis suggested by RSmith. ↵Marshall Clow2014-06-181-112/+111
| | | | | | No functionality change. llvm-svn: 211191
* Implement string_view from the library fundamentals TS (n4023). Also works ↵Marshall Clow2014-06-111-0/+813
| | | | | | in C++11 and 03, with reduced functionality (mostly in the area of constexpr) llvm-svn: 210659
* Use __builtin_operator_new/__builtin_operator_delete when available. ThisRichard Smith2014-06-041-2/+2
| | | | | | allows allocations and deallocations to be optimized out. llvm-svn: 210211
* Move <optional> into include/experimental, and into the std::experimental ↵Marshall Clow2013-11-151-0/+699
| | | | | | namespace, since it's not part of C++14, but of an upcoming TS llvm-svn: 194867
* Move <dynarray> into include/experimental, and into the std::experimental ↵Marshall Clow2013-11-131-0/+314
namespace, since it's not part of C++14, but of an upcoming TS llvm-svn: 194614
OpenPOWER on IntegriCloud