Skip to content

[sil][docs] Add documentation about sil_implicit_leading_param. #81747

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

No description provided.

@gottesmm gottesmm requested a review from eeckstein May 23, 2025 17:26
@gottesmm gottesmm requested a review from jckarter as a code owner May 23, 2025 17:26
@gottesmm gottesmm requested a review from atrick May 23, 2025 20:01
Copy link
Contributor

@eeckstein eeckstein left a comment

Choose a reason for hiding this comment

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

lgtm

- The ownership of most instruction results can be statically determined from
the instruction's kind and the offset of the value in the result tuple. For
example `copy_value` has only one result and that result is always an owned
value, whereas `begin_borrow` always produces a guaranteed value.
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't see what the new version of the paragraph makes better or clearer than the original one.

@gottesmm gottesmm enabled auto-merge May 27, 2025 14:46
@rjmansfield rjmansfield disabled auto-merge May 27, 2025 14:48
@rjmansfield rjmansfield merged commit 4976be8 into swiftlang:main May 27, 2025
@gottesmm gottesmm deleted the pr-021007354c4c9e191bcb63c8573c668dc20a40fd branch May 27, 2025 14:48
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.

4 participants