aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorPer Bothner <bothner@gcc.gnu.org>1996-02-12 12:03:24 -0800
committerPer Bothner <bothner@gcc.gnu.org>1996-02-12 12:03:24 -0800
commit9506a28da93192d601373957c0b57826bcf14ed6 (patch)
tree55a561eb4ead2e421947b3347b468fc3893b8c05 /gcc/tree.h
parent8ee15cd7f5039a5cf201956efa40f4e55d869648 (diff)
downloadgcc-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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 453c230..504416e 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.