-
Notifications
You must be signed in to change notification settings - Fork 10.5k
SR-5289: Teach Mirror how to handle unowned/unmanaged references #28368
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
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
6c1b920
SR-5289: Test using Mirror to inspect weak, unowned, and unmanaged refs
tbkka ca53953
Expose Unowned reference types similar to Weak types.
tbkka 36972a1
Be stricter about identifying reference types.
tbkka be3a3f9
SR-5289: Implement reflection for unowned and unmanaged fields
tbkka 5398cef
Fix various warnings in Mirror.swift test source
tbkka 663783f
Move FieldType into anonymous namespace
tbkka e66c901
Comment updates suggested by @rjmccall
tbkka 28f662b
Reuse the same outValue to avoid breaking NRVO
tbkka 9b33aa2
Add `deallocateBoxForExistentialIn` to match `allocateBoxForExistenti…
tbkka a96f094
Make the verification a little more detailed to get more data about a…
tbkka 0e86b31
Support casting Any<Optional<P>> => P
tbkka 6b07581
Minor cleanup
tbkka 60fff2e
Merge branch 'master' into SR-5289
tbkka 5db3f0a
Fix the handling of a null type
tbkka 0995991
Try to make this copy of the unwrap loop the same as the other copy
tbkka 2753ac1
Merge branch 'master' into SR-5289
tbkka 16150d0
Revert "Support casting Any<Optional<P>> => P"
tbkka efa65d5
Revert "Support casting Any<Optional<P>> => P"
tbkka 64b0e6f
Merge branch 'SR-5289' of github.com:tbkka/swift into SR-5289
tbkka 52667c1
Merge branch 'master' into SR-5289
tbkka 7a7a00a
In the test, avoid relying on casts that don't work
tbkka File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.