cp-tree.def (TEMPLATE_DECL): Update comment.
authorIra Ruben <ira@apple.com>
Fri, 6 Jul 2001 12:21:49 +0000 (12:21 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 6 Jul 2001 12:21:49 +0000 (12:21 +0000)
2001-07-06  Ira Ruben   <ira@apple.com>
        * cp-tree.def (TEMPLATE_DECL): Update comment. DECL_RESULT should
be DECL_TEMPLATE_RESULT.

From-SVN: r43807

gcc/cp/ChangeLog
gcc/cp/cp-tree.def

index eb0e0eb7cf1d6159e7341233acb3f16bf1960864..54748c10deebeba6b9c030de67a34003908c1d6d 100644 (file)
@@ -1,3 +1,8 @@
+2001-07-06  Ira Ruben   <ira@apple.com>
+
+        * cp-tree.def (TEMPLATE_DECL): Update comment. DECL_RESULT should
+       be DECL_TEMPLATE_RESULT.
+
 2001-07-05  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
 
        * cp-tree.h (copy_template_template_parm): Rename to ...
index 62f263269887fd4f980dee63cbace23d6cc24b7a..e7ef2b9dca779b78e46a3d0d8a2f59c0b99918f3 100644 (file)
@@ -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)