diff options
author | Per Bothner <bothner@gcc.gnu.org> | 1996-02-12 12:03:24 -0800 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 1996-02-12 12:03:24 -0800 |
commit | 9506a28da93192d601373957c0b57826bcf14ed6 (patch) | |
tree | 55a561eb4ead2e421947b3347b468fc3893b8c05 /gcc/tree.h | |
parent | 8ee15cd7f5039a5cf201956efa40f4e55d869648 (diff) | |
download | gcc-9506a28da93192d601373957c0b57826bcf14ed6.zip gcc-9506a28da93192d601373957c0b57826bcf14ed6.tar.gz gcc-9506a28da93192d601373957c0b57826bcf14ed6.tar.bz2 |
Changes to distinguish typedef from original type in debug output.
* tree.h (DECL_ORIGINAL_TYPE): New macro.
From-SVN: r11216
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -898,6 +898,8 @@ struct tree_type #define DECL_ARGUMENTS(NODE) ((NODE)->decl.arguments) /* In FUNCTION_DECL, holds the decl for the return value. */ #define DECL_RESULT(NODE) ((NODE)->decl.result) +/* For a TYPE_DECL, holds the "original" type. (TREE_TYPE has the copy.) */ +#define DECL_ORIGINAL_TYPE(NODE) ((NODE)->decl.result) /* In PARM_DECL, holds the type as written (perhaps a function or array). */ #define DECL_ARG_TYPE_AS_WRITTEN(NODE) ((NODE)->decl.result) /* For a FUNCTION_DECL, holds the tree of BINDINGs. |