summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/awt
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-17 07:31:08 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-17 07:31:08 +0000
commit1827796bc30483db776aa2ee573954e7bfd47cc6 (patch)
tree2d69e1c139bcf0ee4f483089d38a6c6ff542bbce /libjava/gnu/java/awt
parent873f1e89a8b5e0c168f212021a018d9d6f3b21e2 (diff)
downloadgcc-1827796bc30483db776aa2ee573954e7bfd47cc6.tar.gz
* class.c (finish_struct_methods): Remove unncessary code.
(add_implicitly_declared_members): Create declarations for default constructors and copy constructors lazily. * cp-tree.h (lang_type_class): Remove lazy_default_ctor and lazy_copy_ctor. (CLASSTYPE_LAZY_DEFAULT_CTOR): New macro. (CLASSTYPE_LAZY_COPY_CTOR): Likewise. * decl2.c (check_classfn): Robustify. (locate_dtor): Handle empty CLASSTYPE_METHOD_VEC. (locate_ctor): Handle lazy default constructors. (locate_copy): Handle lazy copy constructors. (implicitly_declare_fn): Make sure we're looking at the TYPE_MAIN_VARIANT for a class before creating functions. Don't set TYPE_HAS_CONSTRUCTOR. (lazily_declare_fn): New function. * name-lookup.c (constructor_name_full): Simplify. * search.c (lookup_fnfields_1): Lazily create methods, as necessary. (lookup_for_overrides): Handle empty CLASSTYPE_METHOD_VEC. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84851 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gnu/java/awt')
0 files changed, 0 insertions, 0 deletions