summaryrefslogtreecommitdiffstats
path: root/gcc/langhooks.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-21 21:27:29 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-21 21:27:29 +0000
commitd1c4171700df4027980bd4d81b4bb5a6df59b3ef (patch)
tree324dda1490d4c679f3db106b92840b7fbb271bfc /gcc/langhooks.h
parentcee7491d23c19bbe3104115a4804075ab4df176e (diff)
downloadppe42-gcc-d1c4171700df4027980bd4d81b4bb5a6df59b3ef.tar.gz
ppe42-gcc-d1c4171700df4027980bd4d81b4bb5a6df59b3ef.zip
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
Diffstat (limited to 'gcc/langhooks.h')
-rw-r--r--gcc/langhooks.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/langhooks.h b/gcc/langhooks.h
index 22346fe5905..cdb547c7cf3 100644
--- a/gcc/langhooks.h
+++ b/gcc/langhooks.h
@@ -170,12 +170,6 @@ struct lang_hooks_for_decls
/* Returns the chain of decls so far in the current scope level. */
tree (*getdecls) (void);
-/* Look up NAME in the current scope and its superiors
- in the namespace of variables, functions and typedefs.
- Return a ..._DECL node of some kind representing its definition,
- or return 0 if it is undefined. */
- tree (*lookup_name) (tree);
-
/* Returns true when we should warn for an unused global DECL.
We will already have checked that it has static binding. */
bool (*warn_unused_global) (tree);
OpenPOWER on IntegriCloud