OSDN Git Service

* c-common.c (handle_cleanup_attribute): Use a lang hook for lookup_name.
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Nov 2005 23:40:29 +0000 (23:40 +0000)
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Nov 2005 23:40:29 +0000 (23:40 +0000)
commit0e10fb82d727003bc4986df38da739543aad986d
tree4485e94760f589adf0f27e512f1e74736da95b8d
parent92016de0fc06c09cfcfd3c7ff5009a9230050816
* 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
12 files changed:
gcc/ChangeLog
gcc/c-common.c
gcc/c-decl.c
gcc/c-objc-common.h
gcc/c-tree.h
gcc/config/darwin-c.c
gcc/cp/ChangeLog
gcc/cp/cp-objcp-common.h
gcc/cp/name-lookup.c
gcc/cp/name-lookup.h
gcc/langhooks-def.h
gcc/langhooks.h