This is an archive of the discontinued LLVM Phabricator instance.

[MS] Instantiate default args during instantiation of exported default ctors
ClosedPublic

Authored by rnk on Jan 3 2017, 6:58 PM.

Details

Summary

Replace some old code that probably pre-dated the change to delay
emission of dllexported code until after the closing brace of the
outermost record type. Only uninstantiated default argument expressions
need to be handled now. It is enough to instantiate default argument
expressions when instantiating dllexported default ctors. This also
fixes some double-diagnostic issues in this area.

Fixes PR31500

Diff Detail

Repository
rL LLVM

Event Timeline

rnk updated this revision to Diff 82991.Jan 3 2017, 6:58 PM
rnk retitled this revision from to [MS] Instantiate default args during instantiation of exported default ctors.
rnk updated this object.
rnk added a reviewer: rsmith.
rnk added a subscriber: cfe-commits.
rnk added a subscriber: EricWF.Jan 4 2017, 8:31 AM
rnk updated this revision to Diff 83059.Jan 4 2017, 8:34 AM

simplify

rsmith accepted this revision.Jan 4 2017, 4:50 PM
rsmith edited edge metadata.
This revision is now accepted and ready to land.Jan 4 2017, 4:50 PM
This revision was automatically updated to reflect the committed changes.