Skip to content

[OSSA] Minor fixes to swift::findTransitiveUsesForAddress #62570

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 2 commits into from
Dec 15, 2022

Conversation

meg-gupta
Copy link
Contributor

No description provided.

The api should not behave differently when foundUses is nullptr.
The only difference should be in populating it.

No tests. Found by code inspection.
…veUsesForAddress

Otherwise the default is AddressUseKind::Unknown
@meg-gupta
Copy link
Contributor Author

@swift-ci smoke test

@meg-gupta meg-gupta requested a review from atrick December 15, 2022 18:30
@meg-gupta meg-gupta merged commit e2c53dd into swiftlang:main Dec 15, 2022
Copy link
Contributor

@atrick atrick left a comment

Choose a reason for hiding this comment

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

LGTM thanks

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