[llvm-bugs] [Bug 50224] std::forward_list::swap noexcept specification not using correct member type

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jun 22 09:42:41 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=50224

Louis Dionne <ldionne at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Fixed By Commit(s)|                            |7adf713a5e22b44c7cc746bcd37
                   |                            |9d844277a19f2
         Resolution|---                         |FIXED
                 CC|                            |ldionne at apple.com
             Status|NEW                         |RESOLVED

--- Comment #1 from Louis Dionne <ldionne at apple.com> ---
Thanks for the fix!

commit 7adf713a5e22b44c7cc746bcd379d844277a19f2
Author: Hyundeok Park <p.hyundeok76 at gmail.com>
Date:   Tue Jun 22 12:37:51 2021 -0400

    [libc++] Change forward_list::swap to use propagate_on_container_swap for
noexcept specification

    The current implementation of `std::forward_list::swap` uses
    `propagate_on_container_move_assignment` for `noexcept` specification.
    This patch changes it to use `propagate_on_container_swap`, as it should.

    Fixes https://llvm.org/PR50224.

    Differential Revision: https://reviews.llvm.org/D101899

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210622/5371a9f0/attachment.html>


More information about the llvm-bugs mailing list