<?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 member_swap.pass.cpp</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>16719cd0 - [libc++] P2321R2 section [tuple.tuple]. Adding C++23 constructors, assignment operators and swaps to `tuple`</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.swap/member_swap.pass.cpp#16719cd0</link>
        <description>[libc++] P2321R2 section [tuple.tuple]. Adding C++23 constructors, assignment operators and swaps to `tuple`1. for constructors that takes cvref variation of tuple&lt;UTypes...&gt;, thereused to be two SFINAE helper _EnableCopyFromOtherTuple,_EnableMoveFromOtherTuple. And the implementations of these two helpersseem to slightly differ from the spec. But now, we need 4 variations.Instead of adding another two, this change refactored it to a single one_EnableCtrFromUTypesTuple, which directly maps to the spec withoutchanging the C++11 behaviour. However, we need the helper __copy_cvref_tto get the type of std::get&lt;i&gt;(cvref tuple&lt;Utypes...&gt;) for differentcvref, so I made __copy_cvref_t to be available in C++11.2. for constructors that takes variations of std::pair, there used to befour helpers _EnableExplicitCopyFromPair, _EnableImplicitCopyFromPair,_EnableImplicitMoveFromPair, _EnableExplicitMoveFromPair. Instead ofadding another four, this change refactored into two helper_EnableCtrFromPair and _BothImplicitlyConvertible. This also removes theneed to use _nat3. for const member assignment operator, since the requirement is verysimple, I haven&apos;t refactored the old code but instead directly addingthe new c++23 code.4. for const swap, I pretty much copy pasted the non-const version to makethese overloads look consistent5. while doing these change, I found two of the old constructors wasn&apos;tmarked constexpr for C++20 but they should. fixed them and added unittestsReviewed By: #libc, ldionneDifferential Revision: https://reviews.llvm.org/D116621

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.swap/member_swap.pass.cpp</description>
        <pubDate>Thu, 12 May 2022 12:23:11 +0000</pubDate>
        <dc:creator>Hui Xie &lt;hui.xie1990@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>9dd7ad6f - Revert &quot;[libc++] P2321R2 section [tuple.tuple]. Adding C++23 constructors, assignment operators and swaps to `tuple`&quot;</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.swap/member_swap.pass.cpp#9dd7ad6f</link>
        <description>Revert &quot;[libc++] P2321R2 section [tuple.tuple]. Adding C++23 constructors, assignment operators and swaps to `tuple`&quot;When merging the changes of &lt;type_traits&gt; header with the commits onthis header over the last month, several conflicts were mistakenresolved and the wrong branch was picked while resolving conflicts,which leads to CI failure. In order to resolve the conflicts properlywith qualification CI job, this change is reverted.This reverts commit 95733a55b986e73f4d8f5314e0d4557d8ae0b226.

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.swap/member_swap.pass.cpp</description>
        <pubDate>Thu, 23 Jun 2022 20:54:23 +0000</pubDate>
        <dc:creator>Hui Xie &lt;hui.xie1990@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>95733a55 - [libc++] P2321R2 section [tuple.tuple]. Adding C++23 constructors, assignment operators and swaps to `tuple`</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.swap/member_swap.pass.cpp#95733a55</link>
        <description>[libc++] P2321R2 section [tuple.tuple]. Adding C++23 constructors, assignment operators and swaps to `tuple`1. for constructors that takes cvref variation of tuple&lt;UTypes...&gt;, thereused to be two SFINAE helper _EnableCopyFromOtherTuple,_EnableMoveFromOtherTuple. And the implementations of these two helpersseem to slightly differ from the spec. But now, we need 4 variations.Instead of adding another two, this change refactored it to a single one_EnableCtrFromUTypesTuple, which directly maps to the spec withoutchanging the C++11 behaviour. However, we need the helper __copy_cvref_tto get the type of std::get&lt;i&gt;(cvref tuple&lt;Utypes...&gt;) for differentcvref, so I made __copy_cvref_t to be available in C++11.2. for constructors that takes variations of std::pair, there used to befour helpers _EnableExplicitCopyFromPair, _EnableImplicitCopyFromPair,_EnableImplicitMoveFromPair, _EnableExplicitMoveFromPair. Instead ofadding another four, this change refactored into two helper_EnableCtrFromPair and _BothImplicitlyConvertible. This also removes theneed to use _nat3. for const member assignment operator, since the requirement is verysimple, I haven&apos;t refactored the old code but instead directly addingthe new c++23 code.4. for const swap, I pretty much copy pasted the non-const version to makethese overloads look consistent5. while doing these change, I found two of the old constructors wasn&apos;tmarked constexpr for C++20 but they should. fixed them and added unittestsReviewed By: #libc, ldionneDifferential Revision: https://reviews.llvm.org/D116621

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.swap/member_swap.pass.cpp</description>
        <pubDate>Thu, 12 May 2022 12:23:11 +0000</pubDate>
        <dc:creator>Hui Xie &lt;hui.xie1990@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>06e2b737 - [libc++] [P1032] Misc constexpr bits in &lt;iterator&gt;, &lt;string_view&gt;, &lt;tuple&gt;, &lt;utility&gt;.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.swap/member_swap.pass.cpp#06e2b737</link>
        <description>[libc++] [P1032] Misc constexpr bits in &lt;iterator&gt;, &lt;string_view&gt;, &lt;tuple&gt;, &lt;utility&gt;.This completes the implementation of P1032&apos;s changes to &lt;iterator&gt;,&lt;string_view&gt;, &lt;tuple&gt;, and &lt;utility&gt; in C++20.http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1032r1.htmlDrive-by fix a couple of unintended rvalues in &quot;*iterators*/*.fail.cpp&quot;.Differential Revision: https://reviews.llvm.org/D96385

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.swap/member_swap.pass.cpp</description>
        <pubDate>Wed, 10 Feb 2021 00:12:16 +0000</pubDate>
        <dc:creator>Arthur O&apos;Dwyer &lt;arthur.j.odwyer@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>31cbe0f2 - [libc++] Remove the c++98 Lit feature from the test suite</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.swap/member_swap.pass.cpp#31cbe0f2</link>
        <description>[libc++] Remove the c++98 Lit feature from the test suiteC++98 and C++03 are effectively aliases as far as Clang is concerned.As such, allowing both std=c++98 and std=c++03 as Lit parameters isjust slightly confusing, but provides no value. It&apos;s similar to allowingboth std=c++17 and std=c++1z, which we don&apos;t do.This was discovered because we had an internal bot that ran the testsuite under both c++98 AND c++03 -- one of which is redundant.Differential Revision: https://reviews.llvm.org/D80926

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.swap/member_swap.pass.cpp</description>
        <pubDate>Mon, 01 Jun 2020 14:38:23 +0000</pubDate>
        <dc:creator>Louis Dionne &lt;ldionne@apple.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/utilities/tuple/tuple.tuple/tuple.swap/member_swap.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/utilities/tuple/tuple.tuple/tuple.swap/member_swap.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/utilities/tuple/tuple.tuple/tuple.swap/member_swap.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/utilities/tuple/tuple.tuple/tuple.swap/member_swap.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/utilities/tuple/tuple.tuple/tuple.swap/member_swap.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/utilities/tuple/tuple.tuple/tuple.swap/member_swap.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>0a52cd79 - [libcxx] Mark most tuple tests UNSUPPORTED for c++03 and c++98.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.swap/member_swap.pass.cpp#0a52cd79</link>
        <description>[libcxx] Mark most tuple tests UNSUPPORTED for c++03 and c++98.Summary: No declaration for the type `tuple` is given in c++03 or c++98 modes. Mark all tests that use the actual `tuple` type as UNSUPPORTED.Reviewers: jroelofs, mclow.lists, danalbertReviewed By: danalbertSubscribers: cfe-commitsDifferential Revision: http://reviews.llvm.org/D5956llvm-svn: 229808

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.swap/member_swap.pass.cpp</description>
        <pubDate>Thu, 19 Feb 2015 02:10:42 +0000</pubDate>
        <dc:creator>Eric Fiselier &lt;eric@efcs.ca&gt;</dc:creator>
    </item>
<item>
        <title>949389c3 - We had two identical files named &apos;MoveOnly.h&apos; in the test suite. Move one to support/, remove the other, and update all the tests that included them. No functionality change.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.swap/member_swap.pass.cpp#949389c3</link>
        <description>We had two identical files named &apos;MoveOnly.h&apos; in the test suite. Move one to support/, remove the other, and update all the tests that included them. No functionality change.llvm-svn: 227370

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.swap/member_swap.pass.cpp</description>
        <pubDate>Wed, 28 Jan 2015 21:22:53 +0000</pubDate>
        <dc:creator>Marshall Clow &lt;mclow.lists@gmail.com&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/utilities/tuple/tuple.tuple/tuple.swap/member_swap.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/utilities/tuple/tuple.tuple/tuple.swap/member_swap.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>
