diff options
author | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-06 19:03:44 +0000 |
---|---|---|
committer | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-06 19:03:44 +0000 |
commit | 3bd975bc00b481ce8aa5fd2ffd703c5653e6933b (patch) | |
tree | eb55c8a0bbba73aa66f5c50b4e4252818c594e9c /gcc/cp/name-lookup.h | |
parent | b55ad4b0d8c37aeaf0cd609115b60ead482afaaf (diff) | |
download | gcc-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.h | 1 |
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) \ |