summaryrefslogtreecommitdiff
path: root/gcc/cp/name-lookup.h
diff options
context:
space:
mode:
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-06 19:03:44 +0000
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-06 19:03:44 +0000
commit3bd975bc00b481ce8aa5fd2ffd703c5653e6933b (patch)
treeeb55c8a0bbba73aa66f5c50b4e4252818c594e9c /gcc/cp/name-lookup.h
parentb55ad4b0d8c37aeaf0cd609115b60ead482afaaf (diff)
downloadgcc-3bd975bc00b481ce8aa5fd2ffd703c5653e6933b.tar.gz
* cp-tree.h (add_binding): Remove declaration.
* name-lookup.h (supplement_binding): Declare. * decl.c (add_binding): Move to name-lookup.c. (push_local_binding): Adjust. (push_class_binding): Likewise. (set_identifier_type_value_with_scope): Likewise. * name-lookup.c (supplement_binding): Rename from add_binding. Return a bool. Improve documentation. (set_namespace_binding): Adjust. * Make-lang.in (cp/name-lookup.o): Depend on toplev.h git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71144 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/name-lookup.h')
-rw-r--r--gcc/cp/name-lookup.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cp/name-lookup.h b/gcc/cp/name-lookup.h
index 943106e7462..6a0917eddc9 100644
--- a/gcc/cp/name-lookup.h
+++ b/gcc/cp/name-lookup.h
@@ -107,6 +107,7 @@ struct cxx_binding GTY(())
extern cxx_binding *cxx_binding_make (tree, tree);
extern void cxx_binding_free (cxx_binding *);
+extern bool supplement_binding (cxx_binding *, tree);
/* True if SCOPE designates the global scope binding contour. */
#define global_scope_p(SCOPE) \