summaryrefslogtreecommitdiffstats
path: root/gcc/cp/cp-tree.h
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2001-02-03 00:27:28 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2001-02-03 00:27:28 +0000
commitbf3e930356f8fd4cce29ad521b34e59bfd3c526b (patch)
treef3d31f5162151f6fcae8bb32cda44e06be229762 /gcc/cp/cp-tree.h
parent3acdc02b5f29d6df52cb3b1b153e8f44eb60ca4f (diff)
downloadppe42-gcc-bf3e930356f8fd4cce29ad521b34e59bfd3c526b.tar.gz
ppe42-gcc-bf3e930356f8fd4cce29ad521b34e59bfd3c526b.zip
* decl.c (push_class_binding): Use context_for_name_lookup instead
of CP_DECL_CONTEXT. * search.c (context_for_name_lookup): Remove static. Check for NULL context in the loop. * cp-tree.h (context_for_name_lookup): Add prototype. * g++.old-deja/g++.other/anon6.C: New test. * g++.old-deja/g++.other/anon7.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39417 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/cp-tree.h')
-rw-r--r--gcc/cp/cp-tree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index 3ec2778f08c..60421a391b6 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -4211,6 +4211,7 @@ extern void init_search_processing PARAMS ((void));
extern void reinit_search_statistics PARAMS ((void));
extern tree current_scope PARAMS ((void));
extern int at_function_scope_p PARAMS ((void));
+extern tree context_for_name_lookup PARAMS ((tree));
extern tree lookup_conversions PARAMS ((tree));
extern tree binfo_for_vtable PARAMS ((tree));
extern tree binfo_from_vbase PARAMS ((tree));
OpenPOWER on IntegriCloud