aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-objc-common.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2005-11-21 13:27:29 -0800
committerRichard Henderson <rth@gcc.gnu.org>2005-11-21 13:27:29 -0800
commit10e6657a206fdeb7ac00167d1b40cf58e8f5517b (patch)
tree324dda1490d4c679f3db106b92840b7fbb271bfc /gcc/c-objc-common.h
parent3d8bf70f59ee15fc337c025307a419558e7aedc4 (diff)
downloadgcc-10e6657a206fdeb7ac00167d1b40cf58e8f5517b.zip
gcc-10e6657a206fdeb7ac00167d1b40cf58e8f5517b.tar.gz
gcc-10e6657a206fdeb7ac00167d1b40cf58e8f5517b.tar.bz2
c-common.c, [...]: Revert 2005-11-18 lookup_name patch.
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. From-SVN: r107325
Diffstat (limited to 'gcc/c-objc-common.h')
-rw-r--r--gcc/c-objc-common.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/c-objc-common.h b/gcc/c-objc-common.h
index 706f120..6921259 100644
--- a/gcc/c-objc-common.h
+++ b/gcc/c-objc-common.h
@@ -127,8 +127,6 @@ extern void c_initialize_diagnostics (diagnostic_context *);
#undef LANG_HOOKS_GETDECLS
#define LANG_HOOKS_GETDECLS lhd_return_null_tree_v
-#undef LANG_HOOKS_LOOKUP_NAME
-#define LANG_HOOKS_LOOKUP_NAME lookup_name
#undef LANG_HOOKS_WRITE_GLOBALS
#define LANG_HOOKS_WRITE_GLOBALS c_write_global_declarations