diff options
| author | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-21 00:03:21 +0000 |
|---|---|---|
| committer | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-21 00:03:21 +0000 |
| commit | 5ad590ade679fd917e3bb6c9617cdbb5cdd814dc (patch) | |
| tree | fcf4022c73cb6f01329bee1631bcc45d94dff2ba /gcc/cp/decl.c | |
| parent | c4c4e18f1f73e2347c0ff967bf1e26a084d64e19 (diff) | |
| download | ppe42-gcc-5ad590ade679fd917e3bb6c9617cdbb5cdd814dc.tar.gz ppe42-gcc-5ad590ade679fd917e3bb6c9617cdbb5cdd814dc.zip | |
Remove old-abi remnants. Remove comments about old abi
behaviour. Remove refences to 'new-abi' in comments.
* cp-tree.h: Adjust comments.
(vbase_offsets_in_vtable_p): Delete.
(vcall_offsets_in_vtable_p): Delete.
(vptrs_present_everywhere_p): Delete.
(all_overridden_vfuns_in_vtables_p): Delete.
(merge_primary_and_secondary_vtables_p): Delete.
(TYPE_CONTAINS_VPTR_P): Adjust.
(VTT_NAME_PREFIX): Remove.
(CTOR_VTBL_NAME_PREFIX): Remove.
(init_vbase_pointers): Remove.
* class.c: Adjust coments.
(build_vbase_pointer_fields): Delete.
(build_vbase_pointer): Remove old-abi code.
(build_secondary_vtable): Likewise.
(modify_all_vtables): Likewise.
(create_vtable_ptr): Likewise.
(layout_class_type): Likewise.
(finish_struct_1): Likewise.
(finish_vtbls): Likewise.
(dfs_finish_vtbls): Delete.
(build_vbase_offset_vtbl_entries): Remove old-abi code.
* cvt.c: Adjust comments.
* decl.c: Adjust comments.
* decl2.c: Adjust comments.
* init.c: Adjust comments.
(construct_virtual_bases): Remove old-abi code.
* lang-specs.h: Remove -fno-new-abi.
* mangle.c: Adjust comments.
* rtti.c: Adjust comments.
(get_base_offset): Remove old-abi-code.
* search.c: Adjust comments.
(dfs_init_vbase_pointers): Remove.
(dfs_vtable_path_unmark): Remove.
(init_vbase_pointers): Remove.
* semantics.c: Adjust comments.
(emit_associated_thunks): Remove old-abi code.
* typeck.c: Adjust comments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44215 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/decl.c')
| -rw-r--r-- | gcc/cp/decl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index bc157b37d68..2abddd24d3b 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -48,8 +48,7 @@ Boston, MA 02111-1307, USA. */ extern int (*valid_lang_attribute) PARAMS ((tree, tree, tree, tree)); #ifndef BOOL_TYPE_SIZE -/* In the new ABI, `bool' has size and alignment `1', on all - platforms. */ +/* `bool' has size and alignment `1', on all platforms. */ #define BOOL_TYPE_SIZE CHAR_TYPE_SIZE #endif @@ -9475,7 +9474,6 @@ check_special_function_return_type (sfk, type, optype) if (type) cp_error ("return type specification for constructor invalid"); - /* In the new ABI constructors do not return a value. */ type = void_type_node; break; |

