diff options
author | Jason Merrill <jason@yorick.cygnus.com> | 1999-02-07 15:37:43 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 1999-02-07 10:37:43 -0500 |
commit | 7766fe8e5fb5a64d770a6a42bc0da22c4de753cf (patch) | |
tree | 0ca3affb85764e5fc06777cf25381679d9cc51b7 /gcc/tree.h | |
parent | ff90310e44edd74fe984c87739e41d8c8cf43d1c (diff) | |
download | gcc-7766fe8e5fb5a64d770a6a42bc0da22c4de753cf.zip gcc-7766fe8e5fb5a64d770a6a42bc0da22c4de753cf.tar.gz gcc-7766fe8e5fb5a64d770a6a42bc0da22c4de753cf.tar.bz2 |
* tree.h (DECL_P): New macro.
From-SVN: r25069
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1012,6 +1012,8 @@ struct tree_type /* Define fields and accessors for nodes representing declared names. */ +/* Nonzero if DECL represents a decl. */ +#define DECL_P(DECL) (TREE_CODE_CLASS (TREE_CODE (DECL)) == 'd') /* This is the name of the object as written by the user. It is an IDENTIFIER_NODE. */ #define DECL_NAME(NODE) (DECL_CHECK (NODE)->decl.name) |