Skip to content

Make params and results const in Analyze Checks #30555

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 Mar 21, 2020
Merged

Make params and results const in Analyze Checks #30555

merged 1 commit into from Mar 21, 2020

Conversation

ghost
Copy link

@ghost ghost commented Mar 21, 2020

We need to run OwnedToGuaranteedAnalyzeResults() and OwnedToGuaranteedAnalyzeParameters() anyway, but we assign the results to booleans, so why not make them const?

@AnthonyLatsis
Copy link
Collaborator

@swift-ci please smoke test

@AnthonyLatsis
Copy link
Collaborator

🍄

@AnthonyLatsis AnthonyLatsis merged commit 09aee22 into swiftlang:master Mar 21, 2020
@ghost ghost deleted the const branch March 21, 2020 19:24
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.

1 participant