This is an archive of the discontinued LLVM Phabricator instance.

[clang] Add an API to retrieve implicit constructor arguments.
ClosedPublic

Authored by mboehme on May 14 2020, 6:30 AM.

Details

Summary

This is needed in Swift for C++ interop -- see here for the corresponding Swift change:

https://github.com/apple/swift/pull/30630

As part of this change, I've had to make some changes to the interface of CGCXXABI to return the additional parameters separately rather than adding them directly to a CallArgList.

Diff Detail

Event Timeline

mboehme created this revision.May 14 2020, 6:30 AM
mboehme edited the summary of this revision. (Show Details)May 14 2020, 9:38 PM

This looks good to me.

rjmccall accepted this revision.May 15 2020, 3:43 PM
This revision is now accepted and ready to land.May 15 2020, 3:43 PM

Can someone commit for me? I've applied to have my SVN commit access transferred to github, but haven't gotten a response yet.

This revision was automatically updated to reflect the committed changes.