Commit 555f90c5 by Jason Merrill Committed by Jason Merrill

* tree.h (TYPE_P): New macro.

From-SVN: r21067
parent 4f8b4fd9
Sun Jul 12 01:27:05 1998 Jason Merrill <jason@yorick.cygnus.com>
* tree.h (TYPE_P): New macro.
Sat Jul 11 16:19:48 1998 Mark Mitchell <mark@markmitchell.com> Sat Jul 11 16:19:48 1998 Mark Mitchell <mark@markmitchell.com>
* cplus-dem.c (string): Move definition before work_stuff. * cplus-dem.c (string): Move definition before work_stuff.
......
...@@ -401,6 +401,10 @@ struct tree_common ...@@ -401,6 +401,10 @@ struct tree_common
#define POINTER_TYPE_P(TYPE) \ #define POINTER_TYPE_P(TYPE) \
(TREE_CODE (TYPE) == POINTER_TYPE || TREE_CODE (TYPE) == REFERENCE_TYPE) (TREE_CODE (TYPE) == POINTER_TYPE || TREE_CODE (TYPE) == REFERENCE_TYPE)
/* Nonzero if TYPE represents a type. */
#define TYPE_P(TYPE) (TREE_CODE_CLASS (TREE_CODE (TYPE)) == 't')
/* Define many boolean fields that all tree nodes have. */ /* Define many boolean fields that all tree nodes have. */
/* In VAR_DECL nodes, nonzero means address of this is needed. /* In VAR_DECL nodes, nonzero means address of this is needed.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment