summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/java/beans/DesignMode.java
diff options
context:
space:
mode:
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>2009-05-26 10:35:16 +0000
committerdodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>2009-05-26 10:35:16 +0000
commitd5f372e698a8617b13571ec39aeb86449697b78e (patch)
tree3d65d44a42717c7f7d4a2537e6e32c193c7d5fae /libjava/classpath/java/beans/DesignMode.java
parent3266a7172151414bf6baed3cd8b54acb6365c477 (diff)
downloadppe42-gcc-d5f372e698a8617b13571ec39aeb86449697b78e.tar.gz
ppe42-gcc-d5f372e698a8617b13571ec39aeb86449697b78e.zip
Fix PR c++/40007
gcc/cp/ChangeLog: PR c++/40007 * cp-tree.h (MEMBER_TYPES_NEEDING_ACCESS_CHECK): Remove this accessor. (TI_TYPEDEFS_NEEDING_ACCESS_CHECKING): New accessor. (get_types_needing_access_check): Declare new entry point. * pt.c (append_type_to_template_for_access_check_1, get_types_needing_access_check): New functions. (perform_typedefs_access_check): Accept FUNCTION_DECLs and RECORD_TYPEs rather than TEMPLATE_DECLs. Use the new get_types_needing_access_check, no more MEMBER_TYPES_NEEDING_ACCESS_CHECK. (instantiate_class_template): Set input_location to the source location of the most specialized template definition. Perform access check using the RECORD_TYPE of the template, not its associated most generic TEMPLATE_DECL. (append_type_to_template_for_access_check): Augment function comments. Use the new get_types_needing_access_check, not MEMBER_TYPE_NEEDING_ACCESS_CHECK. Use the new append_type_to_template_for_access_check_1 subroutine. gcc/testsuite/ChangeLog: PR c++/40007 * g++.dg/template/typedef18.C: New test. * g++.dg/template/typedef19.C: Likewise. * g++.dg/template/typedef20.C: Likewise. * g++.dg/template/access11.C: Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147866 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/java/beans/DesignMode.java')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud