[libcxx] Remove shared_ptr::make_shared
authorZoe Carver <z.zoelec2@gmail.com>
Tue, 22 Oct 2019 15:16:49 +0000 (15:16 +0000)
committerZoe Carver <z.zoelec2@gmail.com>
Tue, 22 Oct 2019 15:16:49 +0000 (15:16 +0000)
commit40c47680eb2a1cb9bb7f8598c319335731bd5204
tree9f49607be8fa60cdf898da78aeb7b75403540535
parent3ef017d0669e0dfa7e34a6e58d80c8f307db6d8c
[libcxx] Remove shared_ptr::make_shared

    Summary: This patch removes `shared_ptr::make_shared` as it is not part of the standard. This patch also adds __create_with_cntrl_block, which is a help function that can be used in std::allocate_shared and std::make_shared. This is the third patch (out of 4) from D66178.

    Reviewers: EricWF, mclow.lists, ldionne

    Subscribers: christof, dexonsmith, libcxx-commits

    Tags: #libc

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

llvm-svn: 375504
libcxx/include/memory