]> gcc.gnu.org Git - gcc.git/commit
cp-tree.h (IDENTIFIER_VIRTUAL_P): Document.
authorNathan Sidwell <nathan@codesourcery.com>
Tue, 5 Dec 2000 15:50:06 +0000 (15:50 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 5 Dec 2000 15:50:06 +0000 (15:50 +0000)
commitcbb409451baa17eed88f57e0b575ff5f6b01fab5
treeaf97c282c8bf12e05febc3bd5655a95d3b143a54
parent61402b802aafc9dfc34536858decdefce1748bf6
cp-tree.h (IDENTIFIER_VIRTUAL_P): Document.

cp:
* cp-tree.h (IDENTIFIER_VIRTUAL_P): Document.
(get_matching_virtual): Remove.
(look_for_overrides): Declare new function.
* decl.c (grokfndecl): Don't set IDENTIFIER_VIRTUAL_P or
DECL_VINDEX here.
* class.c (check_for_override): Move base class iteration code
to look_for_overrides.
* search.c (next_baselink): Remove.
(get_virtuals_named_this): Remove.
(get_virtual_destructor): Remove.
(tree_has_any_destructors_p): Remove.
(struct gvnt_info): Remove.
(check_final_overrider): Remove `virtual' from error messages.
(get_matching_virtuals): Remove. Move functionality to ...
(look_for_overrides): ... here, and ...
(look_for_overrides_r): ... here. Set DECL_VIRTUAL_P, if found
to be overriding.
testsuite:
* g++.old-deja/g++.h/spec6.C: Remove some of the XFAILS.
* g++.old-deja/g++.other/virtual10.C: New test.

From-SVN: r38040
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/search.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.eh/spec6.C
gcc/testsuite/g++.old-deja/g++.other/virtual10.C [new file with mode: 0644]
This page took 0.065408 seconds and 5 git commands to generate.