From d1c4171700df4027980bd4d81b4bb5a6df59b3ef Mon Sep 17 00:00:00 2001 From: rth Date: Mon, 21 Nov 2005 21:27:29 +0000 Subject: gcc/ * c-common.c, config/darwin-c.c, c-decl.c, c-tree.h, c-objc-common.h, langhooks-def.h, langhooks.h: Revert 2005-11-18 lookup_name patch. * c-tree.h (lookup_name): Move declaration ... * c-common.h (lookup_name): ... here. * config/darwin-c.c: Include c-common.h. * config/t-darwin: Update dependencies. gcc/cp/ * cp-objcp-common.h, name-lookup.c, name-lookup.h: Revert 11-18 patch. * name-lookup.c (lookup_name): Remove prefer_type argument. (lookup_name_prefer_type): New. * decl.c (lookup_and_check_tag): Use them. * pt.c (tsubst_friend_class): Likewise. (lookup_template_class): Likewise. (tsubst_copy_and_build): Likewise. * name-lookup.h (lookup_name_prefer_type): New. (lookup_name): Remove declaration. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107325 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/langhooks-def.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'gcc/langhooks-def.h') diff --git a/gcc/langhooks-def.h b/gcc/langhooks-def.h index ff5e73efb41..a17927a2eb2 100644 --- a/gcc/langhooks-def.h +++ b/gcc/langhooks-def.h @@ -234,7 +234,6 @@ extern tree lhd_make_node (enum tree_code); #define LANG_HOOKS_INSERT_BLOCK insert_block #define LANG_HOOKS_PUSHDECL pushdecl #define LANG_HOOKS_GETDECLS getdecls -#define LANG_HOOKS_LOOKUP_NAME lhd_return_null_tree #define LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL lhd_warn_unused_global_decl #define LANG_HOOKS_WRITE_GLOBALS write_global_declarations #define LANG_HOOKS_PREPARE_ASSEMBLE_VARIABLE NULL @@ -246,7 +245,6 @@ extern tree lhd_make_node (enum tree_code); LANG_HOOKS_INSERT_BLOCK, \ LANG_HOOKS_PUSHDECL, \ LANG_HOOKS_GETDECLS, \ - LANG_HOOKS_LOOKUP_NAME, \ LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL, \ LANG_HOOKS_WRITE_GLOBALS, \ LANG_HOOKS_PREPARE_ASSEMBLE_VARIABLE, \ -- cgit v1.2.1