Skip to content

Replace ImportedFunc.swiftDemangledMangledName with a Swift full name#3

Merged
DougGregor merged 2 commits into
swiftlang:mainfrom
DougGregor:imported-func-cleanup
Sep 26, 2024
Merged

Replace ImportedFunc.swiftDemangledMangledName with a Swift full name#3
DougGregor merged 2 commits into
swiftlang:mainfrom
DougGregor:imported-func-cleanup

Conversation

@DougGregor
Copy link
Copy Markdown
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