This is an archive of the discontinued LLVM Phabricator instance.

[NFC] [libcxx] Remove shared_ptr's no-rvalue unique_ptr converting constructor.
ClosedPublic

Authored by zoecarver on May 30 2020, 2:55 PM.

Details

Summary

All compilers supported by libc++ have rvalues in C++03 mode so, there is no need for this non-rvalue overload.

Diff Detail

Event Timeline

zoecarver created this revision.May 30 2020, 2:55 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 30 2020, 2:55 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript

This passes all memory tests in C++03, C++11, and C++2a mode.

ldionne accepted this revision.Jun 1 2020, 11:00 AM
This revision is now accepted and ready to land.Jun 1 2020, 11:00 AM
This revision was automatically updated to reflect the committed changes.