diff options
author | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-11-18 23:40:29 +0000 |
---|---|---|
committer | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-11-18 23:40:29 +0000 |
commit | 0e10fb82d727003bc4986df38da739543aad986d (patch) | |
tree | 4485e94760f589adf0f27e512f1e74736da95b8d /gcc/c-decl.c | |
parent | 92016de0fc06c09cfcfd3c7ff5009a9230050816 (diff) | |
download | ppe42-gcc-0e10fb82d727003bc4986df38da739543aad986d.tar.gz ppe42-gcc-0e10fb82d727003bc4986df38da739543aad986d.zip |
* c-common.c (handle_cleanup_attribute): Use a lang hook for lookup_name.
* config/darwin-c.c (darwin_pragma_unused): Likewise.
* c-decl.c (lookup_name_two) Remove.
* c-tree.h (lookup_name_two): Remove.
* c-objc-common.h (LANG_HOOKS_LOOKUP_NAME): Add.
* langhooks-def.h (LANG_HOOKS_LOOKUP_NAME): Add.
(LANG_HOOKS_DECLS): Add initializer for LANG_HOOKS_LOOKUP_NAME.
* langhooks.h (lang_hooks_for_decls): Add lookup_name.
cp:
* cp-objcp-common.h (LANG_HOOKS_LOOKUP_NAME): Add.
* name-lookup.c (lookup_name_two): Remove.
(lookup_name_one): Add.
* name-lookup.h (lookup_name_two): Remove.
(lookup_name_one): Add.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107196 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r-- | gcc/c-decl.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 99e91c04406..003b813fc7d 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -2671,15 +2671,6 @@ lookup_name (tree name) return 0; } -/* Similar to `lookup_name' for the benefit of common code and the C++ - front end. */ - -tree -lookup_name_two (tree name, int ARG_UNUSED (prefer_type)) -{ - return lookup_name (name); -} - /* Similar to `lookup_name' but look only at the indicated scope. */ static tree |