Skip to content

[NFC] Cleanup some code to use 'swift::getParameterList' to fetch parameter lists #32979

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
Jul 20, 2020
Merged

[NFC] Cleanup some code to use 'swift::getParameterList' to fetch parameter lists #32979

merged 1 commit into from
Jul 20, 2020

Conversation

theblixguy
Copy link
Collaborator

We have a convenience function called getParameterList which takes a ValueDecl * and returns the parameters if they exist. Let's use it wherever possible instead of manually checking the types and then extracting the parameters for each.

@theblixguy
Copy link
Collaborator Author

@swift-ci please smoke test

@theblixguy theblixguy merged commit 58a84ea into swiftlang:master Jul 20, 2020
@theblixguy theblixguy deleted the chore/cleanup-parameter-lists-fetching branch July 20, 2020 18:50
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