Skip to content

[Parse] Consolidate body parsing for Func/Constructor/Destructor decls #19018

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 3 commits into from
Aug 29, 2018

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Aug 28, 2018

We can consolidate preparation work for parsing function body of FuncDecl/ConstructorDecl/DestructorDecl.

While I'm around here, fixed a bug where interface-hash is accidentally updated even for local functions.

Previously, parsing function bodies used to update interface hash
regardless of the flag. Parsing local function should not update it.
@rintaro
Copy link
Member Author

rintaro commented Aug 28, 2018

@swift-ci Please smoke test

Copy link
Contributor

@jrose-apple jrose-apple left a comment

Choose a reason for hiding this comment

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

Nice cleanup. LGTM!

@rintaro
Copy link
Member Author

rintaro commented Aug 29, 2018

@swift-ci Please smoke test Linux

1 similar comment
@rintaro
Copy link
Member Author

rintaro commented Aug 29, 2018

@swift-ci Please smoke test Linux

@rintaro rintaro merged commit 836ad07 into swiftlang:master Aug 29, 2018
@rintaro rintaro deleted the parse-parse-afd branch August 29, 2018 09:00
@Catfish-Man Catfish-Man mentioned this pull request Jul 29, 2021
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