]> gcc.gnu.org Git - gcc.git/commit
cp-tree.h (get_tinfo_fn_dynamic): Remove prototype.
authorNathan Sidwell <sidwell@codesourcery.com>
Tue, 18 Jan 2000 10:23:31 +0000 (10:23 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 18 Jan 2000 10:23:31 +0000 (10:23 +0000)
commite5f614d77706f400f88be4def09c8eaff46d9fc6
tree6e4197a8cde80dd6c8daf7cbe8b8ec6e492caf3a
parentc399e76da6fe124f13dc45c5d85df8138bff7284
cp-tree.h (get_tinfo_fn_dynamic): Remove prototype.

* cp-tree.h (get_tinfo_fn_dynamic): Remove prototype.
(build_x_typeid): Likewise.
(get_tinfo_fn): Likewise.
(get_tinfo_fn_unused): Rename to ...
(get_tinfo_decl): ... here.
* rtti.c (build_headof): Replace logic error with assertion.
(get_tinfo_fn_dynamic): Rename to ...
(get_tinfo_decl_dynamic): ... here. Make static. Use
complete_type_or_else.
(build_x_typeid): Move into ...
(build_typeid): ... here. Adjust call to
get_tinfo_decl_dynamic. Use tinfo_from_decl. Simplify
throw_bad_typeid expression.
(get_tinfo_fn_unused): Rename to ...
(get_tinfo_decl): ... here. Adjust comment.
(get_tinfo_fn): Delete.
(tinfo_from_decl): New static function.
(get_typeid_1): Call get_tinfo_decl and tinfo_from_decl.
(get_typeid): Use complete_type_or_else.
(build_dynamic_cast_1): Adjust calls to
get_tinfo_decl_dynamic. Simplify throw_bad_cast expression.
* parse.y (primary): Adjust call to build_typeid.
* except.c (build_eh_type_type_ref): Adjust call to
get_tinfo_decl. Mark as used.
* class.c (set_rtti_entry): Adjust call to get_tinfo_decl.
* decl2.c (build_expr_from_tree): Adjust call to build_typeid.
* parse.c: Regenerated.

From-SVN: r31485
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/decl2.c
gcc/cp/except.c
gcc/cp/parse.c
gcc/cp/parse.y
gcc/cp/rtti.c
This page took 0.063309 seconds and 5 git commands to generate.