Skip to content

[ASTGen] Generate compound name expression #70138

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 1 commit into from
Dec 1, 2023

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Nov 30, 2023

Bridge DeclBaseName, DeclNameRef, and DeclNameLoc.
Implement UnresolvedMemberExpr generation.

Bridge DeclBaseName, DeclNameRef, and DeclNameLoc.
Implement UnresolvedMemberExpr generation.
@rintaro
Copy link
Member Author

rintaro commented Nov 30, 2023

@swift-ci Please smoke test

@rintaro rintaro requested a review from hamishknight November 30, 2023 22:52
_ = self.method(arg:_:)
}

// FIXME: Compute 'static' location
Copy link
Member Author

Choose a reason for hiding this comment

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

@rintaro rintaro requested review from bnbarham and ahoppen December 1, 2023 02:41
@rintaro rintaro merged commit c46eb58 into swiftlang:main Dec 1, 2023
Comment on lines +89 to +96
SWIFT_NAME("BridgedDeclBaseName.createConstructor()")
BridgedDeclBaseName BridgedDeclBaseName_createConstructor();

SWIFT_NAME("BridgedDeclBaseName.createDestructor()")
BridgedDeclBaseName BridgedDeclBaseName_createDestructor();

SWIFT_NAME("BridgedDeclBaseName.createSubscript()")
BridgedDeclBaseName BridgedDeclBaseName_createSubscript();
Copy link
Member

Choose a reason for hiding this comment

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

Can’t these be static functions of BridgedDeclBaseName. IIRC I used static members in NameMatcherBridging and it worked.

Similar for the other create functions here.

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.

3 participants