Closed davidmalcolm closed 7 years ago
Imported from trac issue 26. Created by tromey on 2012-01-08T15:56:07, last modified: 2012-01-09T15:44:03
Trac comment by tromey on 2012-01-08 15:56:29:
Oops, of course now I found the info on FieldDecl.
Trac comment by dmalcolm on 2012-01-09 15:41:22:
I added an example of extracting them in bd03e3b0845fa785330af3916f4253d505a9fa16
However, it looks like gcc.Block.vars is misnamed; it corresponds to: {{{
}}} 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?
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 bd03e3b0845fa785330af3916f4253d505a9fa16
I couldn't find documentation on RecordType or fields. I read the autogenerated code, and gccutils.py, to figure out what I needed.