OSDN Git Service

[gcc/ChangeLog]
authorzlaski <zlaski@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Sep 2004 01:24:26 +0000 (01:24 +0000)
committerzlaski <zlaski@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Sep 2004 01:24:26 +0000 (01:24 +0000)
2004-09-07  Ziemowit Laski  <zlaski@apple.com>

        * c-decl.c (groktypename_in_parm_context): Remove function.
        * c-tree.h (groktypename_in_parm_context): Remove prototype.

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

gcc/ChangeLog
gcc/c-decl.c
gcc/c-tree.h

index a9fe8d3..2935df7 100644 (file)
@@ -1,5 +1,10 @@
 2004-09-07  Ziemowit Laski  <zlaski@apple.com>
 
+       * c-decl.c (groktypename_in_parm_context): Remove function.
+       * c-tree.h (groktypename_in_parm_context): Remove prototype.
+
+2004-09-07  Ziemowit Laski  <zlaski@apple.com>
+
        * Makefile.in (c-parse.o): Depend on $(C_COMMON_H).
        * c-parse.in: Include c-common.h instead of objc-act.h.
        (ivar_decl_list, ivar_decls, ivar_decl, ivars, ivar_declarator,
index aad7564..0ffda69 100644 (file)
@@ -2887,18 +2887,6 @@ groktypename (tree type_name)
   return type_name;
 }
 
-/* Return a PARM_DECL node for a given pair of specs and declarator.  */
-
-tree
-groktypename_in_parm_context (tree type_name)
-{
-  if (TREE_CODE (type_name) != TREE_LIST)
-    return type_name;
-  return grokdeclarator (TREE_VALUE (type_name),
-                        TREE_PURPOSE (type_name),
-                        PARM, false, NULL);
-}
-
 /* Decode a declarator in an ordinary declaration or data definition.
    This is called as soon as the type information and variable name
    have been parsed, before parsing the initializer if any.
index acecbe9..104fe0c 100644 (file)
@@ -181,7 +181,6 @@ extern tree get_parm_info (bool);
 extern tree grokfield (tree, tree, tree);
 extern void split_specs_attrs (tree, tree *, tree *);
 extern tree groktypename (tree);
-extern tree groktypename_in_parm_context (tree);
 extern tree grokparm (tree);
 extern tree implicitly_declare (tree);
 extern void keep_next_level (void);