cp-tree.h (start_decl): Update prototype.
authorBenjamin Kosnik <bkoz@gcc.gnu.org>
Thu, 9 Apr 1998 20:36:47 +0000 (20:36 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Thu, 9 Apr 1998 20:36:47 +0000 (20:36 +0000)
commita177473334c4f427428326747b97656a0af049fa
tree0e8230f205b2727e79d4de2d86417a1e2e57a1e2
parent2e076ddffc120f909669aefa24d872968264c6c7
cp-tree.h (start_decl): Update prototype.

d
Thu Apr  9 22:16:57 1998  Per Bothner  <bothner@cygnus.com>
        * cp-tree.h (start_decl):  Update prototype.
        * decl.c (start_decl):  Like the C version, new parameters
        for the attributes.  Call cplus_decl_attributes here,
        (pushdecl):  Like C version, do build_type_copy if TYPE_DECL,
        (grokdeclarator):  Pass NULL for new start_decl arguments.
        * pt.c (tsubst_expr):  Likewise.
        * parse.y:  Merge cplus_decl_attribute calls into start_decl calls.
* typeck.c (common_type): Check TYPE_MAIN_VARIANT.
* lex.c (build_lang_decl): Add lang_name_java.
* class.c (push_lang_context): Add lang_name_java.
* method.c (build_mangled_name): Check for is_java_type.
Thu Apr  9 22:16:57 1998  Benjamin Kosnik  <bkoz@loony.cygnus.com>
* decl.c (grokdeclarator): Check TYPE_MAIN_VARIANT.
* call.c (build_scoped_method_call): Check for TREE_CODE for
VOID_TYPE instead of type ==  void_type_node.
(build_method_call): Ditto.
* decl.c (lookup_name_real): Ditto.
(grokdeclarator): Ditto.
(start_decl): Ditto.
(grokparms): Ditto.
(start_function): Ditto.
(finish_function): Ditto.
(start_method): Ditto.
also fixes g++/15415

From-SVN: r19071
gcc/cp/call.c
gcc/cp/class.c
gcc/cp/decl.c
gcc/cp/lex.c
gcc/cp/method.c
gcc/cp/parse.y
gcc/cp/pt.c