cp: * cp-tree.h (UNIQUELY_DERIVED_FROM_P): Adjust lookup_base call. (ACCESSIBLY_UNIQUELY_DERIVED_P): Remove. (PUBLICLY_UNIQUELY_DERIVED_P): Adjust lookup_base call. (enum base_access): Reorganize. (accessible_base_p, accessible_p): Add consider_local_p parameter. * call.c (standard_conversion): Update comment about DERIVED_FROM_P. (enforce_access): Adjust accessible_p call. (build_over_call): Adjust accessible_base_p call. * class.c (convert_to_base): Adjust lookup_base call. (build_vtbl_ref_1): Likewise. (warn_about_ambiguous_bases): Likewise. Add early exit. * cvt.c (convert_to_pointer_force) Adjust lookup_base call. * search.c (accessible_base_p): Add consider_local_p parameter. (lookup_base): Pass consider_local_p to accessible_base_p call. (friend_accessible_p): Check whether scope is a class member. Remove unnecessary class template check. (accessible_p): Add consider_local_p parameter. Use it. (adjust_result_of_qualified_name_lookup): Adjust lookup_base call. * tree.c (maybe_dummy_object): Likewise. * typeck.c (comp_except_type): Use PUBLICLY_UNIQUELY_DERIVED_P. (build_class_member_access_expr): Adjust lookup_base call. * typeck2.c (binfo_or_else): Likewise. * rtti.c (build_dynamic_cast_1): Access can consider friendship and current scope. testsuite: * g++.dg/eh/shadow1.C: New. From-SVN: r89232
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
cleanup1.C | Loading commit data... | |
cleanup2.C | Loading commit data... | |
cleanup3.C | Loading commit data... | |
cleanup4.C | Loading commit data... | |
cleanup5.C | Loading commit data... | |
cond1.C | Loading commit data... | |
cond2.C | Loading commit data... | |
crash1.C | Loading commit data... | |
crossjump1.C | Loading commit data... | |
ctor1.C | Loading commit data... | |
ctor2.C | Loading commit data... | |
dead1.C | Loading commit data... | |
delayslot1.C | Loading commit data... | |
dtor1.C | Loading commit data... | |
dtor2.C | Loading commit data... | |
elide1.C | Loading commit data... | |
elide2.C | Loading commit data... | |
filter1.C | Loading commit data... | |
filter2.C | Loading commit data... | |
forced1.C | Loading commit data... | |
forced2.C | Loading commit data... | |
forced3.C | Loading commit data... | |
forced4.C | Loading commit data... | |
goto1.C | Loading commit data... | |
ia64-1.C | Loading commit data... | |
loop1.C | Loading commit data... | |
loop2.C | Loading commit data... | |
new1.C | Loading commit data... | |
nrv1.C | Loading commit data... | |
omit-frame-pointer.C | Loading commit data... | |
omit-frame-pointer2.C | Loading commit data... | |
registers1.C | Loading commit data... | |
scope1.C | Loading commit data... | |
shadow1.C | Loading commit data... | |
simd-1.C | Loading commit data... | |
simd-2.C | Loading commit data... | |
spec1.C | Loading commit data... | |
spec2.C | Loading commit data... | |
spec3.C | Loading commit data... | |
spec4.C | Loading commit data... | |
spec5.C | Loading commit data... | |
spec6.C | Loading commit data... | |
spec7.C | Loading commit data... | |
stabilize.C | Loading commit data... | |
synth1.C | Loading commit data... | |
template1.C | Loading commit data... | |
template2.C | Loading commit data... | |
throw1.C | Loading commit data... | |
throw2.C | Loading commit data... | |
unexpected1.C | Loading commit data... |