diff options
author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-02-12 20:03:24 +0000 |
---|---|---|
committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-02-12 20:03:24 +0000 |
commit | e59326774fdfaa662d2c291fb13184d87c36ba7a (patch) | |
tree | 55a561eb4ead2e421947b3347b468fc3893b8c05 /gcc/tree.h | |
parent | 0e1782cb42f71f3976f36998b5839f9a19940aaa (diff) | |
download | gcc-e59326774fdfaa662d2c291fb13184d87c36ba7a.tar.gz |
Changes to distinguish typedef from original type in debug output.
* tree.h (DECL_ORIGINAL_TYPE): New macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11216 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree.h b/gcc/tree.h index 453c23002c4..504416e6265 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -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. |