summaryrefslogtreecommitdiffstats
path: root/gcc/f/str.c
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-26 08:37:27 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-26 08:37:27 +0000
commitcf8f00bf2b53c8f1766e5ddfc79ad5046e50d33e (patch)
treee80deebc6a447417a1ef0f9eae56f55fd7dabfbb /gcc/f/str.c
parent64c65b3276f37a3ccfe47c11181e02913a68b16e (diff)
downloadppe42-gcc-cf8f00bf2b53c8f1766e5ddfc79ad5046e50d33e.tar.gz
ppe42-gcc-cf8f00bf2b53c8f1766e5ddfc79ad5046e50d33e.zip
cp:
Implement DR 209 * cp-tree.h (skip_type_access_control, reset_type_access_control): Prototype. * decl.c (grokdeclarator): Access of friends is not checked. * parse.y (component_decl_list): Reset type access control. * semantics.c (decl_type_access_control): Clear current_type_lookups. (save_type_access_control): Don't save if not deferring. (skip_type_access_control, reset_type_access_control): New functions. (begin_class_definition): Do type access control for basetypes. Start deferred access control. (finish_class_definition): Resume immediate access control if this is a local class. testsuite: * g++.old-deja/g++.other/friend12.C: New test. * g++.old-deja/g++.other/friend9.C: Expect no errors. * g++.old-deja/g++.robertl/eb56.C: Make typedef public. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40841 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/f/str.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud