From c028850e297b5de459da6eb3a5974e4b9d69491c Mon Sep 17 00:00:00 2001 From: mmitchel Date: Thu, 8 Jul 2004 14:53:42 +0000 Subject: [PATCH] * name-lookup.h (struct cp_binding_level): Update documentation for class_shadowed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84291 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/name-lookup.h | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 8aa6b1c34b9..5a1a0bc8cea 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2004-07-08 Mark Mitchell + + * name-lookup.h (struct cp_binding_level): Update documentation + for class_shadowed. + 2004-07-08 Giovanni Bajo PR c++/16169 diff --git a/gcc/cp/name-lookup.h b/gcc/cp/name-lookup.h index 1d1f09f789d..e4fd03ce549 100644 --- a/gcc/cp/name-lookup.h +++ b/gcc/cp/name-lookup.h @@ -180,15 +180,15 @@ struct cp_binding_level GTY(()) VALUE the common ancestor with this binding_level's namespace. */ tree using_directives; - /* If this binding level is the binding level for a class, then - class_shadowed is a TREE_LIST. The TREE_PURPOSE of each node - is the name of an entity bound in the class. The TREE_TYPE is - the DECL bound by this name in the class. */ + /* For the binding level corresponding to a class, the entities + declared in the class or its base classes. */ VEC(cp_class_binding) *class_shadowed; /* Similar to class_shadowed, but for IDENTIFIER_TYPE_VALUE, and - is used for all binding levels. In addition the TREE_VALUE is the - IDENTIFIER_TYPE_VALUE before we entered the class. */ + is used for all binding levels. The TREE_PURPOSE is the name of + the entity, the TREE_TYPE is the associated type. In addition + the TREE_VALUE is the IDENTIFIER_TYPE_VALUE before we entered + the class. */ tree type_shadowed; /* A TREE_LIST. Each TREE_VALUE is the LABEL_DECL for a local -- 2.11.4.GIT