* error.c (dump_template_parms): Don't use TS_PEDANTIC_NAME
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Sep 1999 14:59:56 +0000 (14:59 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Sep 1999 14:59:56 +0000 (14:59 +0000)
to change primary template rendering.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29707 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/error.c

index 784939d..32d62b0 100644 (file)
@@ -1,3 +1,8 @@
+1999-09-29  Nathan Sidwell  <nathan@acm.org>
+
+       * error.c (dump_template_parms): Don't use TS_PEDANTIC_NAME
+       to change primary template rendering.
+
 1999-09-29  Mark Mitchell  <mark@codesourcery.com>
 
        * cp-tree.h (UPT_TEMPLATE): Remove.
index 706c2e6..ddb1ed9 100644 (file)
@@ -1350,28 +1350,6 @@ dump_template_parms (info, primary, flags)
           need_comma = 1;
         }
     }
-  else if (flags & TS_PEDANTIC_NAME)
-    {
-      tree tpl = TI_TEMPLATE (info);
-      tree parms = TREE_VALUE (DECL_TEMPLATE_PARMS (tpl));
-      int len = TREE_VEC_LENGTH (parms);
-      int ix;
-      
-      for (ix = 0; ix != len; ix++)
-        {
-          tree parm = TREE_VALUE (TREE_VEC_ELT (parms, ix));
-          
-          if (ix)
-            OB_PUTS (", ");
-          if (TREE_CODE (parm) == TYPE_DECL)
-            OB_PUTS ("class");
-          else if (TREE_CODE (parm) == TEMPLATE_DECL)
-            dump_decl (DECL_TEMPLATE_RESULT (parm), flags);
-          else
-            dump_type (TREE_TYPE (parm),
-                       flags | TS_TEMPLATE_PARM);
-        }
-    }
   else if (primary)
     {
       tree tpl = TI_TEMPLATE (info);