Skip to content

[ownership] Always print out ownership argument annotations whether o… #18186

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

Conversation

gottesmm
Copy link
Contributor

…r not -enable-sil-ownership is passed in.

This is how we originally controlled whether or not we printed out ownership
annotations when we printed SIL. Since then, I have changed (a few months ago I
believe) the ownership model eliminator to know how to eliminate these
annotations from the SIL itself. So this hack can be removed.

rdar://42509812

…r not -enable-sil-ownership is passed in.

This is how we originally controlled whether or not we printed out ownership
annotations when we printed SIL. Since then, I have changed (a few months ago I
believe) the ownership model eliminator to know how to eliminate these
annotations from the SIL itself. So this hack can be removed.

As an additional benefit, this will let me rename -enable-sil-ownership to
-enable-sil-ownership-verifier. This will I hope eliminate confusion around this
option in the short term while I am preparing to work on semantic sil again.

rdar://42509812
@gottesmm
Copy link
Contributor Author

@swift-ci smoke test and merge

@gottesmm gottesmm requested a review from atrick July 24, 2018 20:19
@gottesmm
Copy link
Contributor Author

@atrick finally got around to finishing this. I think it will resolve confusion.

@swift-ci swift-ci merged commit 61c4e85 into swiftlang:master Jul 24, 2018
@gottesmm gottesmm deleted the pr-17a6d1e59533a646cfd8bb69ff9f7be24a5327dd branch July 24, 2018 21:09
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.

Awesome. Thanks. [Rubber stamp]

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.

3 participants