This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Can anyone think of a way to fetch the name of a struct from its tree node? Given a node for a structure, with TREE_CODE (t) == RECORD_TYPE, I find that DECL_NAME (TYPE_NAME (t)) returns NULL_TREE. That's what the documentation says it will do. Unfortunately I need that name...
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |