Commit 6f2838e3 by Mark Mitchell Committed by Mark Mitchell

name-lookup.h (struct cp_binding_level): Update documentation for class_shadowed.

	* name-lookup.h (struct cp_binding_level): Update documentation
	for class_shadowed.

From-SVN: r84291
parent c74fd3f1
2004-07-08 Mark Mitchell <mark@codesourcery.com>
* name-lookup.h (struct cp_binding_level): Update documentation
for class_shadowed.
2004-07-08 Giovanni Bajo <giovannibajo@gcc.gnu.org> 2004-07-08 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/16169 PR c++/16169
......
...@@ -180,15 +180,15 @@ struct cp_binding_level GTY(()) ...@@ -180,15 +180,15 @@ struct cp_binding_level GTY(())
VALUE the common ancestor with this binding_level's namespace. */ VALUE the common ancestor with this binding_level's namespace. */
tree using_directives; tree using_directives;
/* If this binding level is the binding level for a class, then /* For the binding level corresponding to a class, the entities
class_shadowed is a TREE_LIST. The TREE_PURPOSE of each node declared in the class or its base classes. */
is the name of an entity bound in the class. The TREE_TYPE is
the DECL bound by this name in the class. */
VEC(cp_class_binding) *class_shadowed; VEC(cp_class_binding) *class_shadowed;
/* Similar to class_shadowed, but for IDENTIFIER_TYPE_VALUE, and /* Similar to class_shadowed, but for IDENTIFIER_TYPE_VALUE, and
is used for all binding levels. In addition the TREE_VALUE is the is used for all binding levels. The TREE_PURPOSE is the name of
IDENTIFIER_TYPE_VALUE before we entered the class. */ 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; tree type_shadowed;
/* A TREE_LIST. Each TREE_VALUE is the LABEL_DECL for a local /* A TREE_LIST. Each TREE_VALUE is the LABEL_DECL for a local
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment