Skip to content

Generalize the MemAccessUtils API for use outside of access enforcement #32953

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
Jul 19, 2020

Conversation

atrick
Copy link
Contributor

@atrick atrick commented Jul 17, 2020

Also paves the way for adding an AccessPath utility.

I think the API comments are now much more helpful to people looking at this for the first time.

atrick added 2 commits July 17, 2020 10:12
Update, clarify, and prepare for generalization.
For use outside access enforcement passes.

Add isUniquelyIdentifiedAfterEnforcement.

Rename functions for clarity and generality.

Rename isUniquelyIdentifiedOrClass to isFormalAccessBase.

Rename findAccessedStorage to identifyFormalAccess.

Rename findAccessedStorageNonNested to findAccessedStorage.

Part of generalizing the utility for use outside the access
enforcement passes.
@atrick
Copy link
Contributor Author

atrick commented Jul 17, 2020

@swift-ci test

@atrick
Copy link
Contributor Author

atrick commented Jul 17, 2020

@swift-ci test source compatibility

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 5826e75

@atrick
Copy link
Contributor Author

atrick commented Jul 17, 2020

@swift-ci test linux

@atrick atrick merged commit 8af488e into swiftlang:master Jul 19, 2020
@atrick atrick deleted the generalize-memaccess branch July 19, 2020 16:44
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