cp-tree.h: Declare.
authorBenjamin Kosnik <bkoz@gcc.gnu.org>
Mon, 24 Aug 1998 11:57:02 +0000 (11:57 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Mon, 24 Aug 1998 11:57:02 +0000 (11:57 +0000)

1998-08-24  Benjamin Kosnik  <bkoz@cygnus.com>
* cp-tree.h: Declare.
* pt.c (decl_template_parm_p): New function.
* decl.c (pushdecl): Check decls for redeclaring template parms.
(xref_tag): Make redeclaration an error, print decl.
* decl2.c (grokfield): Check field_decls for redeclaration as well.

From-SVN: r21941

gcc/cp/ChangeLog

index 0d066908a7dc2a08618e669ecc288bccef64edb3..a89d657a9ba4246f0d379600fac86727d1268a6c 100644 (file)
@@ -1,3 +1,11 @@
+1998-08-24  Benjamin Kosnik  <bkoz@cygnus.com>
+
+       * cp-tree.h: Declare.
+       * pt.c (decl_template_parm_p): New function.
+       * decl.c (pushdecl): Check decls for redeclaring template parms.
+       (xref_tag): Make redeclaration an error, print decl.
+       * decl2.c (grokfield): Check field_decls for redeclaration as well.
+
 1998-08-24  Jason Merrill  <jason@yorick.cygnus.com>
 
        * parse.y (primary): Fix up the type of string constants.