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

            Bug ID: 50761
           Summary: Cherry-pick 71e4d434dc83b02a853712a5cb026ee2fa9ba67f
                    to release/12.x
           Product: libc++
           Version: 12.0
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
            Blocks: 49317

Please cherry-pick this to the 12.x releases:

commit 71e4d434dc83b02a853712a5cb026ee2fa9ba67f
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.

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


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=49317
[Bug 49317] [meta] 12.0.1 Release Blockers
-- 
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