summaryrefslogtreecommitdiff
path: root/gcc/cp/name-lookup.h
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2003-11-11 22:27:32 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2003-11-11 22:27:32 +0000
commita5ed46c9e20352557a0fea7bf8fb9d8e04862566 (patch)
tree8082fe968555564efdd07e3add06e1110ab8b493 /gcc/cp/name-lookup.h
parent800dcaa0506115147f0bb93f0bc2200f6801469e (diff)
downloadgcc-a5ed46c9e20352557a0fea7bf8fb9d8e04862566.tar.gz
* cp-tree.h (DECL_NAMESPACE_ASSOCIATIONS): New macro.
* name-lookup.c (parse_using_directive): New fn. (is_associated_namespace): New fn. (arg_assoc_namespace): Also check associated namespaces. * name-lookup.h: Declare new fns. * pt.c (maybe_process_partial_specialization): Allow specialization in associated namespace. * parser.c (cp_parser_using_directive): Accept attributes. Use parse_using_directive. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73468 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/name-lookup.h')
-rw-r--r--gcc/cp/name-lookup.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cp/name-lookup.h b/gcc/cp/name-lookup.h
index 36643b26d29..df7615a0db6 100644
--- a/gcc/cp/name-lookup.h
+++ b/gcc/cp/name-lookup.h
@@ -306,6 +306,8 @@ extern void do_local_using_decl (tree);
extern tree do_class_using_decl (tree);
extern void do_using_directive (tree);
extern tree lookup_arg_dependent (tree, tree, tree);
+extern bool is_associated_namespace (tree, tree);
+extern void parse_using_directive (tree, tree);
/* Set *DECL to the (non-hidden) declaration for ID at global scope,