aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2001-03-26 08:37:27 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2001-03-26 08:37:27 +0000
commit788bf0e34ebec318ef42f6a7ffd9e8632756908a (patch)
treee80deebc6a447417a1ef0f9eae56f55fd7dabfbb /gcc/combine.c
parent04c5433d684a6e22d266a2bd067eb42e28ee9d60 (diff)
downloadgcc-788bf0e34ebec318ef42f6a7ffd9e8632756908a.zip
gcc-788bf0e34ebec318ef42f6a7ffd9e8632756908a.tar.gz
gcc-788bf0e34ebec318ef42f6a7ffd9e8632756908a.tar.bz2
Implement DR 209
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. From-SVN: r40841
Diffstat (limited to 'gcc/combine.c')
0 files changed, 0 insertions, 0 deletions