From: Ira Ruben Date: Fri, 6 Jul 2001 12:21:49 +0000 (+0000) Subject: cp-tree.def (TEMPLATE_DECL): Update comment. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c80106a46a69b127dd217571a0a11086f2d5fa8e;p=gcc.git 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 --- 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)