summaryrefslogtreecommitdiff
path: root/gcc/cp/cp-tree.h
diff options
context:
space:
mode:
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>2009-01-12 22:47:49 +0000
committerdodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>2009-01-12 22:47:49 +0000
commitd8ae6d2235ad1bcbdc8ecb7aa0318303a1089804 (patch)
treed3b45f400b4c42e2a3715c2868a2bee41b7c72e4 /gcc/cp/cp-tree.h
parent56b496b0f977b4b15804a4846d48e5b9d951c740 (diff)
downloadgcc-d8ae6d2235ad1bcbdc8ecb7aa0318303a1089804.tar.gz
gcc/cp/ChangeLog:
2009-01-12 Dodji Seketeli <dodji@redhat.com> PR c++/36019 * pt.c (parameter_of_template_p): New function. * cp-tree.h: Declare it. * name-lookup.c (binding_to_template_parms_of_scope_p): New function. (outer_binding): Take template parameters in account when looking for a name binding. gcc/testsuite/ChangeLog: 2009-01-12 Dodji Seketeli <dodji@redhat.com> PR c++/36019 * g++.dg/lookup/hidden-class12.C: New test. * g++.dg/lookup/hidden-class13.C: New test. * g++.dg/lookup/hidden-class14.C: New test. * g++.dg/lookup/hidden-class15.C: New test. * g++.dg/lookup/hidden-class16.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143315 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 9c89d9617a0..718167f0160 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -4603,6 +4603,7 @@ extern bool reregister_specialization (tree, tree, tree);
extern tree fold_non_dependent_expr (tree);
extern bool explicit_class_specialization_p (tree);
extern struct tinst_level *outermost_tinst_level(void);
+extern bool parameter_of_template_p (tree, tree);
/* in repo.c */
extern void init_repo (void);