You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I could not find a way to look up a structure type by tag.
E.g., I wanted to look up 'struct buffer'.
I could do this by introducing typedefs, but I'd rather
not have to do that.
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?
Activity
davidmalcolm commentedon Feb 9, 2017
Imported from trac issue 28. Created by tromey on 2012-01-08T15:58:28, last modified: 2012-01-10T11:37:38
davidmalcolm commentedon Feb 9, 2017
Trac comment by dmalcolm on 2012-01-09 15:42:47:
(oops; added this to ticket #26 by mistake)
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 commentedon Feb 9, 2017
Trac comment by tromey on 2012-01-10 11:37:38:
Thanks for adding the example.
I think renaming this attribute would be fine.