]> git.ipfire.org Git - thirdparty/gcc.git/commit
class.c (instantiate_type): Handle object-relative template-id.
authorJason Merrill <jason@casey.cygnus.com>
Tue, 11 Apr 2000 00:38:39 +0000 (00:38 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 11 Apr 2000 00:38:39 +0000 (20:38 -0400)
commit2bdb0643b3ae045242492171070c11957727150c
treec5516cfcd94a09cc0c73c7cf3b57d9e185fcbf03
parenta4ff8d98baa9fcc92bdd294d4db3e9d9146cd590
class.c (instantiate_type): Handle object-relative template-id.

        * 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.

From-SVN: r33066
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