This is an archive of the discontinued LLVM Phabricator instance.

LLD: Inherit constructors. No functionality change.
Needs ReviewPublic

Authored by ruiu on Mar 25 2015, 1:25 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

We cannot use "using" to inherit constructors because the feature
is not supported by MSVC 2013.

Diff Detail

Event Timeline

ruiu updated this revision to Diff 22672.Mar 25 2015, 1:25 PM
ruiu retitled this revision from to LLD: Inherit constructors. No functionality change..
ruiu updated this object.
ruiu edited the test plan for this revision. (Show Details)
ruiu added a reviewer: atanasyan.
ruiu set the repository for this revision to rL LLVM.
ruiu added a project: lld.
ruiu added a subscriber: Unknown Object (MLST).
atanasyan accepted this revision.Mar 25 2015, 1:28 PM
atanasyan edited edge metadata.

As to me the patch looks good. The code becomes much shorter. But I do not think that std::forward is a common idiom for constructor inheritance. Might it confuse somebody?

This revision is now accepted and ready to land.Mar 25 2015, 1:28 PM
ruiu added a comment.Mar 25 2015, 1:32 PM

Yup, I'd like to hear from more audiences about their opinions.

atanasyan resigned from this revision.Feb 3 2016, 12:32 AM
atanasyan removed a reviewer: atanasyan.
This revision now requires review to proceed.Feb 3 2016, 12:32 AM