Skip to content

Update UUID to take advantage of SE-0205 #19775

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 3 commits into from
Oct 19, 2018

Conversation

benasher44
Copy link
Contributor

@benasher44 benasher44 commented Oct 8, 2018

This updates UUID to use withUnsafePointer for lets

Now that SE-0205 has landed, we don't need to make local copies of the uuid byte tuples, in order to get pointers to them. We can use the new withUnsafePointer that works with lets.

This updates UUID to use withUnsafePointer for lets
@harlanhaskins
Copy link
Contributor

@benasher44 Welcome to the project, and thank you for contributing to Swift! I'm going to tag @moiseev for review here, but before then I'll kick off CI.

@swift-ci please smoke test

@harlanhaskins harlanhaskins requested a review from moiseev October 8, 2018 21:42
@benasher44
Copy link
Contributor Author

Thanks!

@harlanhaskins
Copy link
Contributor

@swift-ci please smoke test

Copy link
Contributor

@moiseev moiseev left a comment

Choose a reason for hiding this comment

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

LGTM

@moiseev
Copy link
Contributor

moiseev commented Oct 17, 2018

/cc @phausler, @parkera

@millenomi
Copy link
Contributor

LGTM, and we probably want an equivalent patch in the Foundation repo.

@parkera
Copy link
Contributor

parkera commented Oct 17, 2018

Agreed with @millenomi

@benasher44
Copy link
Contributor Author

Published equivalent patch @ swiftlang/swift-corelibs-foundation#1728 :)

@millenomi
Copy link
Contributor

@swift-ci please test and merge

@millenomi
Copy link
Contributor

… I don't appear to have that magic power.

@harlanhaskins harlanhaskins merged commit 95e49da into swiftlang:master Oct 19, 2018
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.

5 participants