From c80106a46a69b127dd217571a0a11086f2d5fa8e Mon Sep 17 00:00:00 2001 From: Ira Ruben Date: Fri, 6 Jul 2001 12:21:49 +0000 Subject: [PATCH] cp-tree.def (TEMPLATE_DECL): Update comment. 2001-07-06 Ira Ruben * cp-tree.def (TEMPLATE_DECL): Update comment. DECL_RESULT should be DECL_TEMPLATE_RESULT. From-SVN: r43807 --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/cp-tree.def | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index eb0e0eb7cf1..54748c10dee 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2001-07-06 Ira Ruben + + * cp-tree.def (TEMPLATE_DECL): Update comment. DECL_RESULT should + be DECL_TEMPLATE_RESULT. + 2001-07-05 Kriang Lerdsuwanakij * cp-tree.h (copy_template_template_parm): Rename to ... diff --git a/gcc/cp/cp-tree.def b/gcc/cp/cp-tree.def index 62f26326988..e7ef2b9dca7 100644 --- a/gcc/cp/cp-tree.def +++ b/gcc/cp/cp-tree.def @@ -84,10 +84,10 @@ DEFTREECODE (EMPTY_CLASS_EXPR, "empty_class_expr", 'e', 0) only done for functions so far For class template: DECL_INITIAL associated templates (methods &c) - DECL_RESULT null + DECL_TEMPLATE_RESULT null For non-class templates: TREE_TYPE type of object to be constructed - DECL_RESULT decl for object to be created + DECL_TEMPLATE_RESULT decl for object to be created (e.g., FUNCTION_DECL with tmpl parms used) */ DEFTREECODE (TEMPLATE_DECL, "template_decl", 'd', 0) -- 2.30.2