summaryrefslogtreecommitdiff
path: root/gcc/cp/cp-tree.def
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2004-03-18 22:44:42 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2004-03-18 22:44:42 +0000
commit75e26b1951e10df53103179ff36e20a61c1d95d5 (patch)
treeaa8404b6acf8956c4d37b44844acb98a16568bf6 /gcc/cp/cp-tree.def
parent7472ae5d731e36a8188531c690ddf5000bf85c2c (diff)
downloadgcc-75e26b1951e10df53103179ff36e20a61c1d95d5.tar.gz
* cp-tree.def (TEMPLATE_TYPE_PARM, TYPEOF_TYPE): Update comments.
* cp-tree.h (NEW_EXPR_USE_GLOBAL, DELETE_EXPR_USE_GLOBAL): Add check. (DELETE_EXPR_USE_VEC, COMPOUND_EXPR_OVERLOADED): Likewise. (KOENIG_LOOKUP_P, PTRMEM_OK_P, TEMPLATE_TYPE_PARM_INDEX): Likewise. (TYPENAME_TYPE_FULLNAME): Add check and use type.values. (TYPEOF_TYPE_EXPR): New macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79645 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/cp-tree.def')
-rw-r--r--gcc/cp/cp-tree.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/cp-tree.def b/gcc/cp/cp-tree.def
index 24815ae0614..d64752068a3 100644
--- a/gcc/cp/cp-tree.def
+++ b/gcc/cp/cp-tree.def
@@ -159,7 +159,7 @@ DEFTREECODE (TEMPLATE_DECL, "template_decl", 'd', 0)
DEFTREECODE (TEMPLATE_PARM_INDEX, "template_parm_index", 'x', 0)
/* Index into a template parameter list. This parameter must be a type.
- The TYPE_FIELDS value will be a TEMPLATE_PARM_INDEX. */
+ The type.value field will be a TEMPLATE_PARM_INDEX. */
DEFTREECODE (TEMPLATE_TYPE_PARM, "template_type_parm", 't', 0)
/* Index into a template parameter list for template template parameters.
@@ -190,7 +190,7 @@ DEFTREECODE (TYPENAME_TYPE, "typename_type", 't', 0)
TYPE_NAME is an IDENTIFIER_NODE for `C', the member class template. */
DEFTREECODE (UNBOUND_CLASS_TEMPLATE, "unbound_class_template", 't', 0)
-/* A type designated by `__typeof (expr)'. TYPE_FIELDS is the
+/* A type designated by `__typeof (expr)'. TYPEOF_TYPE_EXPR is the
expression in question. */
DEFTREECODE (TYPEOF_TYPE, "typeof_type", 't', 0)