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
Name |
Last commit
|
Last update |
---|---|---|
INSTALL | Loading commit data... | |
boehm-gc | Loading commit data... | |
config | Loading commit data... | |
contrib | Loading commit data... | |
gcc | Loading commit data... | |
include | Loading commit data... | |
libchill | Loading commit data... | |
libf2c | Loading commit data... | |
libffi | Loading commit data... | |
libiberty | Loading commit data... | |
libio | Loading commit data... | |
libjava | Loading commit data... | |
libobjc | Loading commit data... | |
libstdc++ | Loading commit data... | |
libstdc++-v3 | Loading commit data... | |
texinfo | Loading commit data... | |
zlib | Loading commit data... | |
.cvsignore | Loading commit data... | |
COPYING | Loading commit data... | |
COPYING.LIB | Loading commit data... | |
ChangeLog | Loading commit data... | |
MAINTAINERS | Loading commit data... | |
Makefile.in | Loading commit data... | |
README | Loading commit data... | |
config-ml.in | Loading commit data... | |
config.guess | Loading commit data... | |
config.if | Loading commit data... | |
config.sub | Loading commit data... | |
configure | Loading commit data... | |
configure.in | Loading commit data... | |
djunpack.bat | Loading commit data... | |
install-sh | Loading commit data... | |
libtool.m4 | Loading commit data... | |
ltcf-c.sh | Loading commit data... | |
ltcf-cxx.sh | Loading commit data... | |
ltcf-gcj.sh | Loading commit data... | |
ltconfig | Loading commit data... | |
ltmain.sh | Loading commit data... | |
missing | Loading commit data... | |
mkdep | Loading commit data... | |
mkinstalldirs | Loading commit data... | |
move-if-change | Loading commit data... | |
symlink-tree | Loading commit data... | |
ylwrap | Loading commit data... |