* tree.h (DECL_P): New macro.
authorJason Merrill <jason@yorick.cygnus.com>
Sun, 7 Feb 1999 15:37:43 +0000 (15:37 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Sun, 7 Feb 1999 15:37:43 +0000 (10:37 -0500)
From-SVN: r25069

gcc/ChangeLog
gcc/tree.h

index 807c69424382618f2eed18b03766a19ad85d34bb..d079ded4384b9d45d3a704f19f47a4cbca0c8389 100644 (file)
@@ -1,3 +1,7 @@
+Sun Feb  7 15:37:10 1999  Jason Merrill  <jason@yorick.cygnus.com>
+
+       * tree.h (DECL_P): New macro.
+
 Sun Feb 7 01:15:04 PST 1999 Jeff Law  (law@cygnus.com)
 
        * version.c: Bump for snapshot.
index 859f7484f198f2b87a949e9649b63be66187e9a5..273b10269f7a66f3ccc11987a9f41f2cb1743547 100644 (file)
@@ -1012,6 +1012,8 @@ struct tree_type
 \f
 /* 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)