* tree.h (TYPE_P): New macro.

From-SVN: r21067
This commit is contained in:
Jason Merrill 1998-07-12 01:29:26 +00:00 committed by Jason Merrill
parent 4f8b4fd92c
commit 555f90c5ef
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
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>
* cplus-dem.c (string): Move definition before work_stuff.

View File

@ -400,6 +400,10 @@ struct tree_common
#define POINTER_TYPE_P(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. */