This is an archive of the discontinued LLVM Phabricator instance.

[libcxx] [test] Fix Clang -Wpessimizing-move "moving a temporary object prevents copy elision".
ClosedPublic

Authored by STL_MSFT on Jan 25 2017, 10:37 AM.

Details

Summary

[libcxx] [test] Fix Clang -Wpessimizing-move "moving a temporary object prevents copy elision".

N4618 30.6.6 [futures.unique_future]/12 declares "shared_future<R> share() noexcept;".

Diff Detail

Event Timeline

STL_MSFT created this revision.Jan 25 2017, 10:37 AM
EricWF accepted this revision.Feb 4 2017, 2:56 PM
This revision is now accepted and ready to land.Feb 4 2017, 2:56 PM
STL_MSFT closed this revision.Feb 5 2017, 3:05 PM