OSDN Git Service

* class.c (instantiate_type): Handle object-relative template-id.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Apr 2000 00:38:39 +0000 (00:38 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Apr 2000 00:38:39 +0000 (00:38 +0000)
commitd9f887853918bf2e9aedd6fdaad47548377f691a
treec5516cfcd94a09cc0c73c7cf3b57d9e185fcbf03
parentaf122f0a2b36bef94b8fcf35fd41847751205d4b
    * class.c (instantiate_type): Handle object-relative template-id.

        * semantics.c (finish_expr_stmt): Call convert_to_void here.
        * decl.c (cplus_expand_expr_stmt): Not here.

        * rtti.c (build_dynamic_cast_1): Call non_lvalue.
        Initialize exprtype earlier.

        * parse.y (fn.def1): Check for defining types in return types.

        * decl.c (check_tag_decl): Notice extra fundamental types.
        Diagnose empty decls in classes, too.

        * decl.c (grokdeclarator): Don't override an anonymous name if no
        declarator was given.

        * cvt.c (convert_to_void): Call resolve_offset_ref.

        * typeck.c (build_x_function_call): Abort if we get an OFFSET_REF.

        * decl2.c (decl_namespace): Handle getting a type.

        * typeck.c (build_c_cast): Re-enable warning for cast between
        pointer and integer of different size.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33066 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cvt.c
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/parse.c
gcc/cp/parse.y
gcc/cp/rtti.c
gcc/cp/semantics.c
gcc/cp/typeck.c