diff options
author | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-11-16 02:08:11 +0000 |
---|---|---|
committer | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-11-16 02:08:11 +0000 |
commit | 799f877ece467fd36113dc6306a33e25f88f3750 (patch) | |
tree | e9a699fec7c15696fe1e831cc04c62ec3c6645e1 /gcc/cp/name-lookup.h | |
parent | b9d576f517471a92133a7192b1cda345b21898da (diff) | |
download | gcc-799f877ece467fd36113dc6306a33e25f88f3750.tar.gz |
* c-decl.c (lookup_name_two): Add.
* c-tree.h (lookup_name_two): Likewise.
* c-common.c (handle_cleanup_attribute): Use lookup_name_two instead.
* config/darwin-c.c (darwin_pragma_unused): Likewise.
cp:
* name-lookup.c (lookup_name_two): Add.
* name-lookup.h: Likewise.
testsuite:
* g++.old-deja/g++.mike/unused.C: Add.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107062 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 fa2a760bd94..a6466d3fb74 100644 --- a/gcc/cp/name-lookup.h +++ b/gcc/cp/name-lookup.h @@ -313,6 +313,7 @@ extern void pushlevel_class (void); extern void poplevel_class (void); extern tree pushdecl_with_scope (tree, cxx_scope *, bool); extern tree lookup_name (tree, int); +extern tree lookup_name_two (tree, int); extern tree lookup_name_real (tree, int, int, bool, int, int); extern tree lookup_type_scope (tree, tag_scope); extern tree namespace_binding (tree, tree); |