Skip to content

[cxx-interop] Use "c function conventions" for static methods and ctors (not "cxx method conventions"). #63506

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 12, 2023

Conversation

zoecarver
Copy link
Contributor

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves #NNNNN, fix apple/llvm-project#MMMMM.

…rs (not "cxx method conventions").

Otherwise we will incorrectly use the "self" type's conventions when lowering the parameters (off-by-one).
@zoecarver zoecarver force-pushed the runtime-crash-ref-in-ctor branch from ee58999 to 4f72147 Compare February 10, 2023 01:11
@zoecarver zoecarver marked this pull request as ready for review February 10, 2023 01:11
@zoecarver zoecarver changed the title Stash: waiting on tests, etc. @zoecarver [cxx-interop] Use "c function conventions" for static methods and ctors (not "cxx method conventions"). Feb 10, 2023
@zoecarver zoecarver changed the title @zoecarver [cxx-interop] Use "c function conventions" for static methods and ctors (not "cxx method conventions"). [cxx-interop] Use "c function conventions" for static methods and ctors (not "cxx method conventions"). Feb 10, 2023
@zoecarver
Copy link
Contributor Author

@swift-ci please test

@zoecarver
Copy link
Contributor Author

@swift-ci please test

@zoecarver
Copy link
Contributor Author

@swift-ci please test macos

1 similar comment
@zoecarver
Copy link
Contributor Author

@swift-ci please test macos

@hyp hyp added the c++ interop Feature: Interoperability with C++ label Feb 10, 2023
@zoecarver zoecarver merged commit c1a50cf into swiftlang:main Feb 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ interop Feature: Interoperability with C++
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants