Skip to content
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

Support indirection for struct and tuple field access #671

Merged
merged 1 commit into from Sep 13, 2021
Merged

Conversation

philberty
Copy link
Member

This allows for fat pointers to be used for tuple or struct field access by
supporting the GCC indirect references by binding the type to the reference.

This might get updated when we support the autoderef mechanism and if the
type supports the deref trait.

Addresses #241

When we have a fat pointer to a structure the GCC needs to know the RECORD
or UNION type of the type before it can access fields, this can be
supported by C'stye indirection such as '->'.

This might get updated when we support the autoderef mechanism and if the
type supports the deref trait.

Addresses #241
@philberty philberty added this to the Data Structures 3 - Traits milestone Sep 13, 2021
@philberty philberty added this to In progress in Data Structures 3 - Traits via automation Sep 13, 2021
@philberty
Copy link
Member Author

bors r+

@bors
Copy link
Contributor

bors bot commented Sep 13, 2021

Build succeeded:

@bors bors bot merged commit c644ee4 into master Sep 13, 2021
Data Structures 3 - Traits automation moved this from In progress to Done Sep 13, 2021
@philberty philberty deleted the phil/autoderef-1 branch September 15, 2021 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

1 participant