diff options
author | Ira Ruben <ira@apple.com> | 2001-07-06 12:21:49 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2001-07-06 12:21:49 +0000 |
commit | c80106a46a69b127dd217571a0a11086f2d5fa8e (patch) | |
tree | 4fdd188efeaa27171dc27739a7d0534a0df96a6e /gcc | |
parent | f8d92613d02f3e8ea2738fed197338475f46c251 (diff) | |
download | gcc-c80106a46a69b127dd217571a0a11086f2d5fa8e.zip gcc-c80106a46a69b127dd217571a0a11086f2d5fa8e.tar.gz gcc-c80106a46a69b127dd217571a0a11086f2d5fa8e.tar.bz2 |
cp-tree.def (TEMPLATE_DECL): Update comment.
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/cp-tree.def | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index eb0e0eb..54748c1 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -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 ... diff --git a/gcc/cp/cp-tree.def b/gcc/cp/cp-tree.def index 62f2632..e7ef2b9 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) |