Skip to content

swift_name is overlooked when importing a C++ record to Swift #82801

@susmonteiro

Description

@susmonteiro

In ImportDecl.cpp::VisitRecordDecl, we collect all the record members' names in allMemberNames. However, we are storing the clang decl name instead of the swift name, which means that swift_name attribute is being ignored.

Metadata

Metadata

Assignees

Labels

c++ interopFeature: Interoperability with C++

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions