summaryrefslogtreecommitdiffstats
path: root/libcxx/include/queue
Commit message (Collapse)AuthorAgeFilesLines
* Rename __is_foo_iterator traits to reflect their Cpp17 nature.Eric Fiselier2019-11-181-1/+1
| | | | | | | | | With the upcoming introduction of iterator concepts in ranges, the meaning of "__is_contiguous_iterator" changes drastically. Currently we intend it to mean "does it have this iterator category", but it could now also mean "does it meet the requirements of this concept", and these can be different.
* [NFC][libcxx] Remove trailing whitespaceLouis Dionne2019-05-291-10/+10
| | | | | | It's incredibly annoying when trying to create diffs llvm-svn: 361981
* 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
* Deduction guides for the container adaptors - queue, stack, and priority_queueMarshall Clow2018-05-221-0/+66
| | | | llvm-svn: 332927
* Implement LWG2783: stack::emplace() and queue::emplace() should return ↵Marshall Clow2018-01-241-1/+1
| | | | | | decltype(auto) llvm-svn: 323385
* First part of P0600 - '[[nodiscard] in the standard library'. Mark the ↵Marshall Clow2017-11-151-2/+2
| | | | | | 'empty()' methods of all the containers as nodiscard. If you're calling empty() w/o looking at the result, you probably meanto to call 'clear()'. c++2a only llvm-svn: 318269
* Cleanup _LIBCPP_HAS_NO_<c++11-feature> for std::queue and std::priority_queue.Eric Fiselier2017-04-181-44/+35
| | | | llvm-svn: 300604
* Change the return type of emplace_[front|back] back to void when building ↵Marshall Clow2017-01-241-1/+6
| | | | | | with C++14 or before. Resolves PR31680. llvm-svn: 292990
* [NFC] Rename _LIBCPP_TYPE_VIS_ONLY to _LIBCPP_TEMPLATE_VISEric Fiselier2017-01-041-5/+5
| | | | | | | | | | | | | The name _LIBCPP_TYPE_VIS_ONLY is no longer accurate because both _LIBCPP_TYPE_VIS and _LIBCPP_TYPE_VIS_ONLY expand to __attribute__((__type_visibility__)) with Clang. The only remaining difference is that _LIBCPP_TYPE_VIS_ONLY can be applied to templates whereas _LIBCPP_TYPE_VIS cannot (due to dllimport/dllexport not being allowed on templates). This patch renames _LIBCPP_TYPE_VIS_ONLY to _LIBCPP_TEMPLATE_VIS. llvm-svn: 291035
* Implement P0084r2. Changing emplace return types.Eric Fiselier2016-07-211-3/+3
| | | | llvm-svn: 276230
* Cleanup: move visibility/linkage attributes to the first declaration.Evgeniy Stepanov2016-04-221-17/+32
| | | | | | http://reviews.llvm.org/D15404 llvm-svn: 267093
* Add is_swappable/is_nothrow_swappable traitsEric Fiselier2016-04-211-4/+12
| | | | llvm-svn: 267079
* Implement LWG#2566: Requirements on the first template parameter of ↵Marshall Clow2016-03-141-0/+2
| | | | | | container adaptors llvm-svn: 263450
* Move the default template arguments into the forward declarations for the ↵Marshall Clow2015-02-181-2/+2
| | | | | | container adapters: stack and queue. References PR#22605. llvm-svn: 229708
* Nico Rieck: this patch series fixes visibility issues on Windows as ↵Howard Hinnant2013-08-121-5/+5
| | | | | | explained in <http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-August/031214.html>. llvm-svn: 188192
* No functionality change at this time. I've split _LIBCPP_VISIBLE up into ↵Howard Hinnant2013-03-061-5/+5
| | | | | | two flags: _LIBCPP_TYPE_VIS and _LIBCPP_FUNC_VIS. This is in preparation for taking advantage of clang's new __type_visibility__ attribute. llvm-svn: 176593
* Dimitry Andric: many visibility fixes. Howard: Much appreciated. Can you ↵Howard Hinnant2012-09-141-1/+3
| | | | | | send me a patch to CREDITS.TXT? llvm-svn: 163862
* Windows support by Ruben Van Boxem.Howard Hinnant2011-10-171-0/+2
| | | | llvm-svn: 142235
* _STD -> _VSTD to avoid macro clash on windowsHoward Hinnant2011-06-301-31/+31
| | | | llvm-svn: 134190
* noexcept for <queue>.Howard Hinnant2011-06-041-42/+93
| | | | llvm-svn: 132650
* license changeHoward Hinnant2010-11-161-2/+2
| | | | llvm-svn: 119395
* visibility-decoration.Howard Hinnant2010-09-221-29/+56
| | | | llvm-svn: 114559
* Changed __config to react to all of clang's currently documented has_feature ↵Howard Hinnant2010-09-041-21/+28
| | | | | | flags, and renamed _LIBCPP_MOVE to _LIBCPP_HAS_NO_RVALUE_REFERENCES to be more consistent with the rest of the libc++'s flags, and with clang's nomenclature. llvm-svn: 113086
* Fixing whitespace problemsHoward Hinnant2010-08-221-12/+11
| | | | llvm-svn: 111750
* Wiped out some non-ascii characters that snuck into the copyright.Howard Hinnant2010-05-111-1/+1
| | | | llvm-svn: 103516
* libcxx initial importHoward Hinnant2010-05-111-0/+629
llvm-svn: 103490
OpenPOWER on IntegriCloud