diff options
author | merrill <merrill@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-11-09 01:32:56 +0000 |
---|---|---|
committer | merrill <merrill@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-11-09 01:32:56 +0000 |
commit | a3377a8b07a455515c819f1192b5fc59a41ea046 (patch) | |
tree | 52d6bc1d7084d5aba0f1ee166babb5917339f369 /gcc/tree.def | |
parent | e8976cd79d68eeee0362077b9836af68f1d163dc (diff) | |
download | gcc-a3377a8b07a455515c819f1192b5fc59a41ea046.tar.gz |
x
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13116 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.def')
-rw-r--r-- | gcc/tree.def | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gcc/tree.def b/gcc/tree.def index c016fcf0964..8ba266a4efa 100644 --- a/gcc/tree.def +++ b/gcc/tree.def @@ -208,7 +208,9 @@ DEFTREECODE (SET_TYPE, "set_type", "t", 0) /* Struct in C, or record in Pascal. */ /* Special fields: - TYPE_FIELDS chain of FIELD_DECLs for the fields of the struct. + TYPE_FIELDS chain of FIELD_DECLs for the fields of the struct, + and VAR_DECLs, TYPE_DECLs and CONST_DECLs for record-scope variables, + types and enumerators. A few may need to be added for Pascal. */ /* See the comment above, before ENUMERAL_TYPE, for how forward references to struct tags are handled in C. */ @@ -271,9 +273,9 @@ DEFTREECODE (STRING_CST, "string_cst", "c", 3) this declaration has its scope. For FIELD_DECLs, this is the RECORD_TYPE, UNION_TYPE, or QUAL_UNION_TYPE node that the field is a member of. For VAR_DECL, PARM_DECL, FUNCTION_DECL, LABEL_DECL, - and CONST_DECL nodes, this points to the FUNCTION_DECL for the - containing function, or else yields NULL_TREE if the given decl - has "file scope". + and CONST_DECL nodes, this points to either the FUNCTION_DECL for the + containing function, the RECORD_TYPE or UNION_TYPE for the containing + type, or NULL_TREE if the given decl has "file scope". DECL_ABSTRACT_ORIGIN, if non-NULL, points to the original (abstract) ..._DECL node of which this decl is an (inlined or template expanded) instance. |