diff options
| author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-27 06:54:04 +0000 |
|---|---|---|
| committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-27 06:54:04 +0000 |
| commit | c161288a8b5e02500fd097ec2ee470dfbc390ce9 (patch) | |
| tree | c1ebb4b0526c7af728ba50f410f9d903a12a083e /libjava/java/security | |
| parent | c0b823af60d3c813a5660417dbd4d6d0a054c78d (diff) | |
| download | ppe42-gcc-c161288a8b5e02500fd097ec2ee470dfbc390ce9.tar.gz ppe42-gcc-c161288a8b5e02500fd097ec2ee470dfbc390ce9.zip | |
Implement class scope using-declarations for functions.
* class.c (handle_using_decl): Call add_method for used functions.
Use IDENTIFIER_CLASS_VALUE to check for conflicts.
(add_method): Used functions are hidden by local functions.
(check_bases_and_members): Handle using-decls before finalizing
CLASSTYPE_METHOD_VEC.
* call.c (add_function_candidate): Add ctype parm; if non-zero,
override the type of 'this' accordingly.
(add_template_candidate, add_template_candidate_real): Add ctype parm.
(convert_class_to_reference, build_user_type_conversion_1,
build_new_function_call, build_object_call, build_new_op,
build_new_method_call): Pass ctype parm.
* search.c (lookup_member): Put rval_binfo, not basetype_path, in
the baselink.
* call.c (convert_class_to_reference, build_user_type_conversion_1,
build_new_function_call, build_object_call, build_new_op,
build_new_method_call, build_op_delete_call): Don't get basetype_path
from a baselink.
* typeck.c (build_component_ref): Likewise.
* init.c (build_offset_ref): Likewise.
(resolve_offset_ref): Don't call enforce_access.
Call build_scoped_ref.
* typeck2.c (build_scoped_ref): Simplify. Do nothing if it
would cause an error or if -pedantic.
* class.c (alter_access): Lose binfo parm.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32212 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/security')
0 files changed, 0 insertions, 0 deletions

