Skip to content

Conversation

@nkcsgexi
Copy link
Contributor

Previously, we were using USR as a delegate for mangled names. However, USR won't incorporate name changes made
by attributes like @_silgen_name. Instead, we should add a dedicated field for mangled names.

rdar://84202064

@nkcsgexi
Copy link
Contributor Author

@swift-ci please smoke test

@nkcsgexi nkcsgexi requested a review from DougGregor October 20, 2021 22:44
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not all types are local types, should we do the "local type" check here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point! I've refactored this function into ASTMangler so we could cover all types.

@nkcsgexi
Copy link
Contributor Author

@swift-ci please smoke test

Previously, we use USR as a delegate for mangled name. However, USR won't incorporate name changes made
by attributes like @_silgen_name. Instead, we should add a dedicated field for canonical mangled names.

rdar://84202064
@nkcsgexi
Copy link
Contributor Author

@swift-ci please smoke test

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.

2 participants