<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in reserve.pass.cpp</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>c74059c5 - [libc++] Implement P1004R2 (constexpr std::vector)</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.capacity/reserve.pass.cpp#c74059c5</link>
        <description>[libc++] Implement P1004R2 (constexpr std::vector)Reviewed By: #libc, ldionneSpies: mgorny, var-const, ormris, philnik, miscco, hiraditya, steven_wu, jkorous, ldionne, christof, libcxx-commitsDifferential Revision: https://reviews.llvm.org/D68365(cherry picked from commit 98d3d5b5da66e3cf7807c23a0294280bb796466b)

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.capacity/reserve.pass.cpp</description>
        <pubDate>Wed, 27 Jul 2022 12:41:40 +0000</pubDate>
        <dc:creator>Nikolas Klauser &lt;nikolasklauser@berlin.de&gt;</dc:creator>
    </item>
<item>
        <title>cb71d77c - [libcxx][test] Add missing includes and suppress warnings</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.capacity/reserve.pass.cpp#cb71d77c</link>
        <description>[libcxx][test] Add missing includes and suppress warnings... from testing with MSVC&apos;s STL. Mostly truncation warnings and variables that are only used in `LIBCPP_ASSERT`.Differential Revision: https://reviews.llvm.org/D116878

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.capacity/reserve.pass.cpp</description>
        <pubDate>Wed, 29 Dec 2021 22:06:25 +0000</pubDate>
        <dc:creator>Casey Carter &lt;Casey@Carter.net&gt;</dc:creator>
    </item>
<item>
        <title>8c6b2489 - [libcxx][test][NFC] Various tests for std::vector</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.capacity/reserve.pass.cpp#8c6b2489</link>
        <description>[libcxx][test][NFC] Various tests for std::vectorAdd missing tests for std::vector funcionality to improve code coverage:  - Rewrote access tests to check modification of the container using    the reference returned by the non-const overload  - Added tests for reverse iterators: rbegin, rend, etc.  - Added exception test for vector::reserve  - Extended test cases for vector copy assignment  - Fixed insert_iter_value.pass.cpp to use insert overload with const    value_type&amp; (not with value_type&amp;&amp; which is tested in    iter_rvalue.pass.cpp test)Reviewed By: Quuxplusone, rarutyun, #libcDifferential Revision: https://reviews.llvm.org/D112438

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.capacity/reserve.pass.cpp</description>
        <pubDate>Wed, 01 Dec 2021 23:04:17 +0000</pubDate>
        <dc:creator>Konstantin Boyarinov &lt;konstantin.boyarinov@intel.com&gt;</dc:creator>
    </item>
<item>
        <title>05a2d176 - [libcxx] Throw correct exception from std::vector::reserve</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.capacity/reserve.pass.cpp#05a2d176</link>
        <description>[libcxx] Throw correct exception from std::vector::reserveAccording to the standard [vector.capacity]/5, std::vector&lt;T&gt;::reserveshall throw an exception of type std::length_error when the requestedcapacity exceeds max_size().This behavior is not implemented correctly: the function &apos;reserve&apos;simply propagates the exception from allocator&lt;T&gt;::allocate. BeforeD110846 that exception used to be of type std::length_error (which iscorrect for vector&lt;T&gt;::reserve, but incorrect forallocator&lt;T&gt;::allocate).This patch fixes the issue and adds regression tests.Reviewed By: Quuxplusone, ldionne, #libcDifferential Revision: https://reviews.llvm.org/D112068

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.capacity/reserve.pass.cpp</description>
        <pubDate>Thu, 21 Oct 2021 09:40:05 +0000</pubDate>
        <dc:creator>Mikhail Maltsev &lt;mikhail.maltsev@arm.com&gt;</dc:creator>
    </item>
<item>
        <title>7fc6a556 - Add include for &apos;test_macros.h&apos; to all the tests that were missing them. Thanks to Zoe for the (big, but simple) patch. NFC intended.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.capacity/reserve.pass.cpp#7fc6a556</link>
        <description>Add include for &apos;test_macros.h&apos; to all the tests that were missing them. Thanks to Zoe for the (big, but simple) patch. NFC intended.llvm-svn: 362252

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.capacity/reserve.pass.cpp</description>
        <pubDate>Fri, 31 May 2019 18:35:30 +0000</pubDate>
        <dc:creator>Marshall Clow &lt;mclow.lists@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>2df59c50 - Support tests in freestanding</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.capacity/reserve.pass.cpp#2df59c50</link>
        <description>Support tests in freestandingSummary:Freestanding is *weird*. The standard allows it to differ in a bunch of oddmanners from regular C++, and the committee would like to improve thatsituation. I&apos;d like to make libc++ behave better with what freestanding shouldbe, so that it can be a tool we use in improving the standard. To do that weneed to try stuff out, both with &quot;freestanding the language mode&quot; and&quot;freestanding the library subset&quot;.Let&apos;s start with the super basic: run the libc++ tests in freestanding, usingclang as the compiler, and see what works. The easiest hack to do this:In utils/libcxx/test/config.py add:  self.cxx.compile_flags += [&apos;-ffreestanding&apos;]Run the tests and they all fail.Why? Because in freestanding `main` isn&apos;t special. This &quot;not special&quot; propertyhas two effects: main doesn&apos;t get mangled, and main isn&apos;t allowed to omit its`return` statement. The first means main gets mangled and the linker can&apos;tcreate a valid executable for us to test. The second means we spew out warnings(ew) and the compiler doesn&apos;t insert the `return` we omitted, and main justfalls of the end and does whatever undefined behavior (if you&apos;re luck, ud2leading to non-zero return code).Let&apos;s start my work with the basics. This patch changes all libc++ tests todeclare `main` as `int main(int, char**` so it mangles consistently (enabling usto declare another `extern &quot;C&quot;` main for freestanding which calls the mangledone), and adds `return 0;` to all places where it was missing. This touches 6124files, and I apologize.The former was done with The Magic Of Sed.The later was done with a (not quite correct but decent) clang tool:  https://gist.github.com/jfbastien/793819ff360baa845483dde81170feedThis works for most tests, though I did have to adjust a few places when e.g.the test runs with `-x c`, macros are used for main (such as for the filesystemtests), etc.Once this is in we can create a freestanding bot which will prevent furtherregressions. After that, we can start the real work of supporting C++freestanding fairly well in libc++.&lt;rdar://problem/47754795&gt;Reviewers: ldionne, mclow.lists, EricWFSubscribers: christof, jkorous, dexonsmith, arphaman, miyuki, libcxx-commitsDifferential Revision: https://reviews.llvm.org/D57624llvm-svn: 353086

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.capacity/reserve.pass.cpp</description>
        <pubDate>Mon, 04 Feb 2019 20:31:13 +0000</pubDate>
        <dc:creator>JF Bastien &lt;jfbastien@apple.com&gt;</dc:creator>
    </item>
<item>
        <title>57b08b09 - Update more file headers across all of the LLVM projects in the monorepo</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.capacity/reserve.pass.cpp#57b08b09</link>
        <description>Update more file headers across all of the LLVM projects in the monorepoto reflect the new license. These used slightly different spellings thatdefeated my regular expressions.We understand that people may be surprised that we&apos;re moving the headerentirely to discuss the new license. We checked this carefully with theFoundation&apos;s lawyer and we believe this is the correct approach.Essentially, all code in the project is now made available by the LLVMproject under our new license, so you will see that the license headersinclude that license only. Some of our contributors have contributedcode under our old license, and accordingly, we have retained a copy ofour old license notice in the top-level files in each project andrepository.llvm-svn: 351648

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.capacity/reserve.pass.cpp</description>
        <pubDate>Sat, 19 Jan 2019 10:56:40 +0000</pubDate>
        <dc:creator>Chandler Carruth &lt;chandlerc@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>50b80c36 - [PATCH] D25483: [libcxx] [test] Fix non-Standard assumptions about how many elements are allocated</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.capacity/reserve.pass.cpp#50b80c36</link>
        <description>[PATCH] D25483: [libcxx] [test] Fix non-Standard assumptions about how many elements are allocatedllvm-svn: 285346

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.capacity/reserve.pass.cpp</description>
        <pubDate>Thu, 27 Oct 2016 21:25:12 +0000</pubDate>
        <dc:creator>Stephan T. Lavavej &lt;stl@exchange.microsoft.com&gt;</dc:creator>
    </item>
<item>
        <title>69a4f661 - [libc++] Fix stack_allocator</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.capacity/reserve.pass.cpp#69a4f661</link>
        <description>[libc++] Fix stack_allocatorSummary:To quote STL the problems with stack allocator are&quot;&gt;&quot;stack_allocator&lt;T, N&gt; is seriously nonconformant to N4582 17.6.3.5 [allocator.requirements].&gt; First, it lacks a rebinding constructor. (The nested &quot;struct rebind&quot; isn&apos;t sufficient.)&gt; Second, it lacks templated equality/inequality.&gt; Third, it completely ignores alignment.&gt; Finally, and most severely, the Standard forbids its existence. Allocators are forbidden from returning memory &quot;inside themselves&quot;. This requirement is implied by the Standard&apos;s requirements for rebinding and equality. It&apos;s permitted to return memory from a separate buffer object on the stack, though.&quot;This patch attempts to address all of those issues.First, instead of storing the buffer inside the allocator I&apos;ve change `stack_allocator` to accept the buffer as an argument.Second, in order to fix rebinding I changed the parameter list from `&lt;class T, size_t NumElements&gt;` to `&lt;class T, size_t NumBytes&gt;`. This allows allocator rebindingbetween types that have different sizes. Third, I added copy and rebinding constructors and assignment operators.And finally I fixed the allocation logic to always return properly aligned storage.Reviewers: mclow.lists, howard.hinnant, STL_MSFTSubscribers: cfe-commitsDifferential Revision: https://reviews.llvm.org/D25154llvm-svn: 283631

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.capacity/reserve.pass.cpp</description>
        <pubDate>Sat, 08 Oct 2016 00:56:22 +0000</pubDate>
        <dc:creator>Eric Fiselier &lt;eric@efcs.ca&gt;</dc:creator>
    </item>
<item>
        <title>f2f2a639 - Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.capacity/reserve.pass.cpp#f2f2a639</link>
        <description>Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER.This is a huge cleanup that helps make the libc++ test suite more portable.Patch from STL@microsoft.com. Thanks STL!llvm-svn: 272716

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.capacity/reserve.pass.cpp</description>
        <pubDate>Tue, 14 Jun 2016 21:31:42 +0000</pubDate>
        <dc:creator>Eric Fiselier &lt;eric@efcs.ca&gt;</dc:creator>
    </item>
<item>
        <title>d04c6851 - Remove trailing whitespace in test suite. Approved by Marshall Clow.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.capacity/reserve.pass.cpp#d04c6851</link>
        <description>Remove trailing whitespace in test suite. Approved by Marshall Clow.llvm-svn: 271435

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.capacity/reserve.pass.cpp</description>
        <pubDate>Wed, 01 Jun 2016 21:35:39 +0000</pubDate>
        <dc:creator>Eric Fiselier &lt;eric@efcs.ca&gt;</dc:creator>
    </item>
<item>
        <title>5a83710e - Move test into test/std subdirectory.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.capacity/reserve.pass.cpp#5a83710e</link>
        <description>Move test into test/std subdirectory.llvm-svn: 224658

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.capacity/reserve.pass.cpp</description>
        <pubDate>Sat, 20 Dec 2014 01:40:03 +0000</pubDate>
        <dc:creator>Eric Fiselier &lt;eric@efcs.ca&gt;</dc:creator>
    </item>
</channel>
</rss>
