diff options
author | Nathan Sidwell <nathan@acm.org> | 2017-05-04 15:39:05 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2017-05-04 15:39:05 +0000 |
commit | ad9870f2d507ce98df7e5daf57dfd6d7c4b16c50 (patch) | |
tree | d6b141e007885fa58515eaceac8d4000e96dcf94 /gcc/cp/name-lookup.h | |
parent | 26f1a658e6308da5a7b804391c624acc3b1bee74 (diff) | |
download | gcc-ad9870f2d507ce98df7e5daf57dfd6d7c4b16c50.zip gcc-ad9870f2d507ce98df7e5daf57dfd6d7c4b16c50.tar.gz gcc-ad9870f2d507ce98df7e5daf57dfd6d7c4b16c50.tar.bz2 |
More global trees.
* cp-tree.h (enum cp_tree_index): Add CPTI_GLOBAL,
CPTI_GLOBAL_TYPE, CPTI_GLOBAL_IDENTIFIER, CPTI_ANON_IDENTIFIER,
CPTI_INIT_LIST_IDENTIFIER.
(global_namespace, global_type_node, global_identifier)
anon_identifier, init_list_identifier): New.
* decl.c (global_type_node, global_scope_name): Delete.
(initialize_predefined_identifiers): Add new identifiers.
(cxx_init_decl_processing): Adjust.
* name-lookup.h (global_namespace, global_type_node): Delete.
* name-lookup.c (global_namespace, anonymous_namespace_name)
get_anonymous_namespace_name): Delete.
(namespace_scope_ht_size, begin_scope, pushtag_1)
push_namespace): Adjust,
* call.c (type_has_extended_temps): Use init_list_identifier.
* pt.c (listify): Likewise.
(((--This line, and those below, will be ignored--
M cp/name-lookup.c
M cp/name-lookup.h
M cp/ChangeLog
M cp/call.c
M cp/pt.c
M cp/cp-tree.h
M cp/decl.c
From-SVN: r247599
Diffstat (limited to 'gcc/cp/name-lookup.h')
-rw-r--r-- | gcc/cp/name-lookup.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/cp/name-lookup.h b/gcc/cp/name-lookup.h index 8d8d723..a2ffc56 100644 --- a/gcc/cp/name-lookup.h +++ b/gcc/cp/name-lookup.h @@ -278,15 +278,6 @@ struct GTY(()) cp_binding_level { #define class_binding_level scope_chain->class_bindings -/* The tree node representing the global scope. */ -extern GTY(()) tree global_namespace; -extern GTY(()) tree global_scope_name; - -/* Indicates that there is a type value in some namespace, although - that is not necessarily in scope at the moment. */ - -extern GTY(()) tree global_type_node; - /* True if SCOPE designates the global scope binding contour. */ #define global_scope_p(SCOPE) \ ((SCOPE) == NAMESPACE_LEVEL (global_namespace)) |