aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/xref.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-12-29 06:39:42 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-12-29 06:39:42 +0000
commitfee7654ec68b5a1a72169620a5609ce7a74cfa75 (patch)
tree02af3c9fb37ba315f28a7d7bf244be358e737985 /gcc/cp/xref.c
parent0430641bc242b40fc5fdafd534088ae7e8a49aba (diff)
downloadgcc-fee7654ec68b5a1a72169620a5609ce7a74cfa75.zip
gcc-fee7654ec68b5a1a72169620a5609ce7a74cfa75.tar.gz
gcc-fee7654ec68b5a1a72169620a5609ce7a74cfa75.tar.bz2
cp-tree.h (lang_type): Replace abstract_virtuals with pure_virtuals.
* cp-tree.h (lang_type): Replace abstract_virtuals with pure_virtuals. (CLASSTYPE_ABSTRACT_VIRTUALS): Rename to ... (CLASSTYPE_PURE_VIRTUALS): ... this. (lang_decl_flags): Replace abstract_virtual with pure_virtual. (DECL_ABSTRACT_VIRTUAL_P): Rename to ... (DECL_PURE_VIRTUAL_P): ... this. (get_abstract_virtuals): Rename to ... (get_pure_virtuals): ... this. * call.c (build_new_method_call): Replace DECL_PURE_VIRTUAL_P with DECL_ABSTRACT_VIRTUAL_P. Replace CLASSTYPE_ABSTRACT_VIRTUALS with CLASSTYPE_PURE_VIRTUALS. * class.c (build_vtable_entry): Likewise. (finish_struct_bits): Likewise. Call get_pure_virtuals, not get_abstract_virtuals. (build_vtbl_initializer): Likewise. (override_one_vtable): Likewise. (check_methods): Likewise. * decl.c (duplicate_decls): Likewise. (redeclaration_error_message): Likewise. (lang_mark_tree): Likewise. * decl2.c (grok_function_init): Likewise. (import_export_vtable): Likewise. (import_expor_class): Likewise. * typeck2.c (abstract_virtuals_error): Likewise. * xref.c (GNU_xref_member): Likewise. * search.c (get_abstract_virtuals): Rename to get_pure_virtuals. From-SVN: r31114
Diffstat (limited to 'gcc/cp/xref.c')
-rw-r--r--gcc/cp/xref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/xref.c b/gcc/cp/xref.c
index 5c6e7b7..94b757b 100644
--- a/gcc/cp/xref.c
+++ b/gcc/cp/xref.c
@@ -608,7 +608,7 @@ GNU_xref_member(cls, fld)
confg = 1;
pure = 0;
- if (TREE_CODE (fld) == FUNCTION_DECL && DECL_ABSTRACT_VIRTUAL_P(fld))
+ if (TREE_CODE (fld) == FUNCTION_DECL && DECL_PURE_VIRTUAL_P(fld))
pure = 1;
d = IDENTIFIER_POINTER(cls);