From: Andrew Pinski Date: Tue, 22 Nov 2005 19:05:51 +0000 (+0000) Subject: objcp-decl.c (objcp_lookup_name): Remove. X-Git-Tag: releases/gcc-4.2.0~5809 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c991891912695c2e6f536bb1d453e6fec331504;p=thirdparty%2Fgcc.git objcp-decl.c (objcp_lookup_name): Remove. 2005-11-22 Andrew Pinski * objcp-decl.c (objcp_lookup_name): Remove. * objcp-decl.h (objcp_lookup_name): Delete. (lookup_name): Kill define. From-SVN: r107369 --- diff --git a/gcc/objcp/ChangeLog b/gcc/objcp/ChangeLog index 061011e16461..c89d3be736fa 100644 --- a/gcc/objcp/ChangeLog +++ b/gcc/objcp/ChangeLog @@ -1,3 +1,9 @@ +2005-11-22 Andrew Pinski + + * objcp-decl.c (objcp_lookup_name): Remove. + * objcp-decl.h (objcp_lookup_name): Delete. + (lookup_name): Kill define. + 2005-09-11 Richard Henderson * objcp-lang.c (objcxx_init_ts): Remove ALIAS_DECL. diff --git a/gcc/objcp/objcp-decl.c b/gcc/objcp/objcp-decl.c index 8a26c8fab7b2..c7882077b451 100644 --- a/gcc/objcp/objcp-decl.c +++ b/gcc/objcp/objcp-decl.c @@ -87,12 +87,6 @@ objcp_finish_function (void) expand_or_defer_fn (finish_function (0)); } -tree -objcp_lookup_name (tree name) -{ - return lookup_name (name, -1); -} - tree objcp_xref_tag (enum tree_code code ATTRIBUTE_UNUSED, tree name) { diff --git a/gcc/objcp/objcp-decl.h b/gcc/objcp/objcp-decl.h index 81cf7adacb22..28821791efbf 100644 --- a/gcc/objcp/objcp-decl.h +++ b/gcc/objcp/objcp-decl.h @@ -26,7 +26,6 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA extern tree objcp_start_struct (enum tree_code, tree); extern tree objcp_finish_struct (tree, tree, tree); extern void objcp_finish_function (void); -extern tree objcp_lookup_name (tree); extern tree objcp_build_function_call (tree, tree); extern tree objcp_xref_tag (enum tree_code, tree); extern int objcp_comptypes (tree, tree); @@ -46,8 +45,6 @@ extern tree objcp_end_compound_stmt (tree, int); objcp_finish_struct (t, fieldlist, attributes) #define finish_function() \ objcp_finish_function () -#define lookup_name(name) \ - objcp_lookup_name (name) #define xref_tag(code, name) \ objcp_xref_tag (code, name) #define comptypes(type1, type2) \