projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d377038
)
(POINTER_TYPE_P): New macro.
author
Jason Merrill
<merrill@gnu.org>
Wed, 16 Nov 1994 00:45:41 +0000
(
00:45
+0000)
committer
Jason Merrill
<merrill@gnu.org>
Wed, 16 Nov 1994 00:45:41 +0000
(
00:45
+0000)
From-SVN: r8456
gcc/tree.h
patch
|
blob
|
history
diff --git
a/gcc/tree.h
b/gcc/tree.h
index 5976437bacd9f374d86f1849960975e94e90d86b..997edba87159d559ff34b21244b8850ea3a60dc0 100644
(file)
--- a/
gcc/tree.h
+++ b/
gcc/tree.h
@@
-234,6
+234,11
@@
struct tree_common
(TREE_CODE (TYPE) == ARRAY_TYPE || TREE_CODE (TYPE) == RECORD_TYPE \
|| TREE_CODE (TYPE) == UNION_TYPE || TREE_CODE (TYPE) == QUAL_UNION_TYPE \
|| TREE_CODE (TYPE) == SET_TYPE)
+
+/* Nonzero if TYPE represents a pointer type. */
+
+#define POINTER_TYPE_P(TYPE) \
+ (TREE_CODE (TYPE) == POINTER_TYPE || TREE_CODE (TYPE) == REFERENCE_TYPE)
\f
/* Define many boolean fields that all tree nodes have. */