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

Louis Dionne <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #3 from Louis Dionne <[email protected]> ---
commit 275ffa580880f6e18bf9742cad8e5dcab67b1f1d
Author: Louis Dionne <[email protected]>
Date:   Wed Jun 16 12:35:00 2021 -0400

    [libc++] Make sure std::allocator<void> is always trivial

    When we removed the allocator<void> specialization, the triviality of
    std::allocator<void> changed because the primary template had a
    non-trivial default constructor and the specialization didn't
    (so std::allocator<void> went from trivial to non-trivial).

    This commit fixes that oversight by giving a trivial constructor to
    the primary template when instantiated on cv-void.

    This was reported in https://llvm.org/PR50299.

    (cherry picked from commit 71e4d434dc83b02a853712a5cb026ee2fa9ba67f)

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to