cp-tree.h (start_decl): Update prototype.
authorBenjamin Kosnik <bkoz@gcc.gnu.org>
Thu, 9 Apr 1998 20:36:49 +0000 (20:36 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Thu, 9 Apr 1998 20:36:49 +0000 (20:36 +0000)
commitfcad5cf5e8bb2fc25e7971cf9f706581904f2a3e
tree14a98593fea82ef2bec27b45b1c28a9433b9c53e
parenta177473334c4f427428326747b97656a0af049fa
cp-tree.h (start_decl): Update prototype.

a
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: r19072
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/typeck.c