Skip to content

Replace ImportedFunc.swiftDemangledMangledName with a Swift full name #3

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
Sep 26, 2024

Conversation

DougGregor
Copy link
Member

We don't want to go through a demangler as part of binding generation. Instead of using the demangled name as a reference, use the full swift name, e.g., print(_:separator:terminator:).

This makes function names consistent with initializer names. Switch a
number of callers over to baseIdentifier when they only want to deal
with the base name.
@DougGregor DougGregor merged commit e7d7a21 into swiftlang:main Sep 26, 2024
@DougGregor DougGregor deleted the imported-func-cleanup branch September 26, 2024 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant