Skip to content

RecordType not documented #66

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

Closed
davidmalcolm opened this issue Feb 9, 2017 · 4 comments
Closed

RecordType not documented #66

davidmalcolm opened this issue Feb 9, 2017 · 4 comments
Assignees

Comments

@davidmalcolm
Copy link
Owner

I couldn't find documentation on RecordType or fields.
I read the autogenerated code, and gccutils.py,
to figure out what I needed.

@davidmalcolm davidmalcolm self-assigned this Feb 9, 2017
@davidmalcolm
Copy link
Owner Author

Imported from trac issue 26. Created by tromey on 2012-01-08T15:56:07, last modified: 2012-01-09T15:44:03

@davidmalcolm
Copy link
Owner Author

Trac comment by tromey on 2012-01-08 15:56:29:

Oops, of course now I found the info on FieldDecl.

@davidmalcolm
Copy link
Owner Author

Trac comment by dmalcolm on 2012-01-09 15:41:22:

I added an example of extracting them in bd03e3b

However, it looks like gcc.Block.vars is misnamed; it corresponds to:
{{{
#define BLOCK_VARS(NODE) (BLOCK_CHECK (NODE)->block.vars)
}}}
from tree.h, but this seems to contain all declarations, not just variables (but see ticket #21).

I'm inclined to rename it to "decls" - does this sound sane?

@davidmalcolm
Copy link
Owner Author

Trac comment by dmalcolm on 2012-01-09 15:44:03:

Oops, I meant to add that comment to ticket #28 (done now).

I documented gcc.RecordType within bd03e3b

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

No branches or pull requests

1 participant