<?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 size.pass.cpp</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>f33d7493 - [libc++] [test] Qualify `distance` as `std::distance` in a lot of tests. NFCI.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/containers/sequences/deque/deque.cons/size.pass.cpp#f33d7493</link>
        <description>[libc++] [test] Qualify `distance` as `std::distance` in a lot of tests. NFCI.We shouldn&apos;t be calling `distance` via ADL -- and neither should anybodyin the wild be calling it via ADL, so it&apos;s not like we need to testthis ADL ability of `distance` in particular.Differential Revision: https://reviews.llvm.org/D119685

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/containers/sequences/deque/deque.cons/size.pass.cpp</description>
        <pubDate>Sun, 13 Feb 2022 19:46:29 +0000</pubDate>
        <dc:creator>Arthur O&apos;Dwyer &lt;arthur.j.odwyer@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/deque/deque.cons/size.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/deque/deque.cons/size.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/deque/deque.cons/size.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/deque/deque.cons/size.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>50bd9576 - [libcxx] [test] Fix Clang -Wunused-local-typedef, part 2/3.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/containers/sequences/deque/deque.cons/size.pass.cpp#50bd9576</link>
        <description>[libcxx] [test] Fix Clang -Wunused-local-typedef, part 2/3.These typedefs were completely unused.Fixes D29136.llvm-svn: 294155

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/containers/sequences/deque/deque.cons/size.pass.cpp</description>
        <pubDate>Sun, 05 Feb 2017 22:47:41 +0000</pubDate>
        <dc:creator>Stephan T. Lavavej &lt;stl@exchange.microsoft.com&gt;</dc:creator>
    </item>
<item>
        <title>6a74f448 - fix warnings only produced by apple-clang</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/containers/sequences/deque/deque.cons/size.pass.cpp#6a74f448</link>
        <description>fix warnings only produced by apple-clangllvm-svn: 290474

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/containers/sequences/deque/deque.cons/size.pass.cpp</description>
        <pubDate>Sat, 24 Dec 2016 01:07:54 +0000</pubDate>
        <dc:creator>Eric Fiselier &lt;eric@efcs.ca&gt;</dc:creator>
    </item>
<item>
        <title>e9c72889 - [libcxx] [test] D27025: Fix MSVC warning C4389 &quot;signed/unsigned mismatch&quot;, part 12/12.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/containers/sequences/deque/deque.cons/size.pass.cpp#e9c72889</link>
        <description>[libcxx] [test] D27025: Fix MSVC warning C4389 &quot;signed/unsigned mismatch&quot;, part 12/12.Various changes:test/std/algorithms/alg.sorting/alg.merge/inplace_merge.pass.cppThis is comparing value_type to unsigned. value_type is sometimes int and sometimes struct S (implicitly constructible from int).static_cast&lt;value_type&gt;(unsigned) silences the warning and doesn&apos;t do anything bad (as the values in question are small).test/std/algorithms/alg.sorting/alg.nth.element/nth_element_comp.pass.cppThis is comparing an int remote-element to size_t. The values in question are small and non-negative,so either type is fine. I think that converting int to size_t is marginally better here than the reverse.test/std/containers/sequences/deque/deque.cons/size.pass.cppDefaultOnly::count is int (and non-negative). When comparing to unsigned, use static_cast&lt;unsigned&gt;.test/std/strings/basic.string/string.access/index.pass.cppWe&apos;re comparing char to &apos;0&apos; through &apos;9&apos;, but formed with the type size_t. Add static_cast&lt;char&gt;.test/std/utilities/template.bitset/bitset.cons/ull_ctor.pass.cppInclude &lt;cstddef&gt; for pedantic correctness (this test was already mentioning std::size_t).&quot;v[i] == (i &amp; 1)&quot; was comparing bool to size_t. Saying &quot;v[i] == ((i &amp; 1) != 0)&quot; smashes the RHS to bool.llvm-svn: 288749

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/containers/sequences/deque/deque.cons/size.pass.cpp</description>
        <pubDate>Tue, 06 Dec 2016 01:13:51 +0000</pubDate>
        <dc:creator>Stephan T. Lavavej &lt;stl@exchange.microsoft.com&gt;</dc:creator>
    </item>
<item>
        <title>fbfb2ab6 - [libcxx] [test] D27021: Fix MSVC warning C4389 &quot;signed/unsigned mismatch&quot;, part 8/12.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/containers/sequences/deque/deque.cons/size.pass.cpp#fbfb2ab6</link>
        <description>[libcxx] [test] D27021: Fix MSVC warning C4389 &quot;signed/unsigned mismatch&quot;, part 8/12.Add static_cast&lt;std::size_t&gt; when comparing distance() to size().These replacements were performed programmatically with regex_replace():const vector&lt;pair&lt;regex, string&gt;&gt; reg_fmt = {    { regex(R&quot;(assert\((\w+)\.size\(\) == std::distance\((\w+, \w+)\)\))&quot;),        &quot;assert($1.size() == static_cast&lt;std::size_t&gt;(std::distance($2)))&quot; },    { regex(R&quot;(assert\(distance\((\w+\.begin\(\), \w+\.end\(\))\) == (\w+)\.size\(\)\))&quot;),        &quot;assert(static_cast&lt;std::size_t&gt;(distance($1)) == $2.size())&quot; },    { regex(R&quot;(assert\(std::distance\((\w+\.\w*begin\(\), \w+\.\w*end\(\))\) == (\w+)\.size\(\)\))&quot;),        &quot;assert(static_cast&lt;std::size_t&gt;(std::distance($1)) == $2.size())&quot; },};Also, include &lt;cstddef&gt; when it wasn&apos;t already being included.llvm-svn: 288745

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/containers/sequences/deque/deque.cons/size.pass.cpp</description>
        <pubDate>Tue, 06 Dec 2016 01:12:34 +0000</pubDate>
        <dc:creator>Stephan T. Lavavej &lt;stl@exchange.microsoft.com&gt;</dc:creator>
    </item>
<item>
        <title>0f901c7e - [libcxx] [test] Replace _LIBCPP_STD_VER with TEST_STD_VER.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/containers/sequences/deque/deque.cons/size.pass.cpp#0f901c7e</link>
        <description>[libcxx] [test] Replace _LIBCPP_STD_VER with TEST_STD_VER.This replaces every occurrence of _LIBCPP_STD_VER in the tests withTEST_STD_VER. Additionally, for every affectedfile, #include &quot;test_macros.h&quot; is being added explicitly if it wasn&apos;talready there.https://reviews.llvm.org/D26294llvm-svn: 286007

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/containers/sequences/deque/deque.cons/size.pass.cpp</description>
        <pubDate>Fri, 04 Nov 2016 20:26:59 +0000</pubDate>
        <dc:creator>Stephan T. Lavavej &lt;stl@exchange.microsoft.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/deque/deque.cons/size.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/deque/deque.cons/size.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/deque/deque.cons/size.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/deque/deque.cons/size.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/deque/deque.cons/size.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/deque/deque.cons/size.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>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/deque/deque.cons/size.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/deque/deque.cons/size.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>
