name-lookup.h (cp_binding_level): Removed unused member names_size.

2011-06-23  Gabriel Charette  <gchare@google.com>

	* name-lookup.h (cp_binding_level): Removed unused
	member names_size. Update all users.

From-SVN: r175373
This commit is contained in:
Gabriel Charette 2011-06-24 13:06:10 +00:00 committed by Diego Novillo
parent fddb89240b
commit 219441f2b8
3 changed files with 5 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2011-06-23 Gabriel Charette <gchare@google.com>
* name-lookup.h (cp_binding_level): Removed unused
member names_size. Update all users.
2011-06-23 Jason Merrill <jason@redhat.com>
PR c++/49519

View File

@ -541,7 +541,6 @@ add_decl_to_level (tree decl, cxx_scope *b)
necessary. */
TREE_CHAIN (decl) = b->names;
b->names = decl;
b->names_size++;
/* If appropriate, add decl to separate list of statics. We
include extern variables because they might turn out to be

View File

@ -191,9 +191,6 @@ struct GTY(()) cp_binding_level {
are wrapped in TREE_LISTs; the TREE_VALUE is the OVERLOAD. */
tree names;
/* Count of elements in names chain. */
size_t names_size;
/* A chain of NAMESPACE_DECL nodes. */
tree namespaces;