summaryrefslogtreecommitdiffstats
path: root/libcxx/include/span
Commit message (Collapse)AuthorAgeFilesLines
* [libc++][P1872] span should have size_type, not index_type.Louis Dionne2019-11-141-36/+36
| | | | | | Thanks to Marek Kurdej for the patch. Differential Revision: https://reviews.llvm.org/D70206
* [libc++] Declare std::tuple_element as struct instead of classLouis Dionne2019-04-011-2/+1
| | | | | | | | | | | | Similarly to https://reviews.llvm.org/rL350972, this revision changes std::tuple_element from class to struct. Fixes PR41331. Thanks to Jan Wilken Dörrie for the patch. Differential Revision: https://reviews.llvm.org/D60069 llvm-svn: 357411
* [libc++] Rename span's as_writeable_bytes to as_writable_bytesLouis Dionne2019-03-281-6/+6
| | | | | | | | | | | | Summary: The Standard says as_writable_bytes. Reviewers: mclow.lists, EricWF Subscribers: christof, jkorous, dexonsmith, libcxx-commits Differential Revision: https://reviews.llvm.org/D59882 llvm-svn: 357139
* Eradicate all the ptrdiff_ts in span left over from applying P1227. A couple ↵Marshall Clow2019-03-061-41/+40
| | | | | | of other minor cleanups. NFC llvm-svn: 355481
* I changed a 'enable_if<...>::type to' 'enable_if_t<...>' but forgot to ↵Marshall Clow2019-02-271-1/+1
| | | | | | remove the preceding 'typename' llvm-svn: 354995
* Implment the last part of P1024: tuple-like interface to span. Reviewed as ↵Marshall Clow2019-02-271-8/+40
| | | | | | https://reviews.llvm.org/D58706. llvm-svn: 354988
* First part of P1227R2 - change span over to use 'size_t' instead of ↵Marshall Clow2019-02-271-32/+28
| | | | | | 'ptrdiff_t'. Reviewed as https://reviews.llvm.org/D58639. llvm-svn: 354936
* LWG3101 - span's Container constructors need another constraint. Reviewed as ↵Marshall Clow2019-02-251-14/+0
| | | | | | https://reviews.llvm.org/D57058. llvm-svn: 354805
* Commit LWG3144 - span does not have a const_pointer typedef. Reviewed as D57039.Marshall Clow2019-02-251-4/+6
| | | | llvm-svn: 354802
* First part of P1024: Usability Enhancements for std::span. Remove operator() ↵Marshall Clow2019-02-251-7/+21
| | | | | | for indexing, and add 'front' and 'back' calls. llvm-svn: 354801
* 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
* Implement P1085R2 - Should Span be Regular?. This consists entirely of deletionsMarshall Clow2018-11-271-44/+0
| | | | llvm-svn: 347672
* [libc++][NFC] Add error messages to a couple of static_asserts in spanLouis Dionne2018-10-031-3/+3
| | | | | | | | | | | | | | | | | Summary: Add error messages to a couple of static_asserts in span to match the style used in the rest of the file. Also fix an extra paren typo in a assert error message. Committed on behalf of Jason Lovett. Reviewers: ldionne Subscribers: libcxx-commits Differential Revision: https://reviews.llvm.org/D52841 llvm-svn: 343725
* [NFC][libc++] Consistently use spaces to indentLouis Dionne2018-08-031-25/+25
| | | | | | rdar://problem/19988944 llvm-svn: 338933
* fix nesting of namespace and standard-version check. Also include <__config>Marshall Clow2018-07-241-1/+3
| | | | llvm-svn: 337809
* Implement <span>. Reviewed as https://reviews.llvm.org/D49338Marshall Clow2018-07-241-0/+606
llvm-svn: 337804
OpenPOWER on IntegriCloud