diff options
author | Nathan Sidwell <nathan@acm.org> | 2017-05-05 11:30:49 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2017-05-05 11:30:49 +0000 |
commit | 3031802941cd7d20148b5992e7ca0ceca87ed2e9 (patch) | |
tree | 0a0daba69572b7e5632109f589365d5c5cce8ab5 /gcc/tree-vrp.c | |
parent | f71425227e511e736589c74879b2c80dd6717676 (diff) | |
download | gcc-3031802941cd7d20148b5992e7ca0ceca87ed2e9.zip gcc-3031802941cd7d20148b5992e7ca0ceca87ed2e9.tar.gz gcc-3031802941cd7d20148b5992e7ca0ceca87ed2e9.tar.bz2 |
Kill per-namespace static_decls.
* cp-tree.h (static_decls): Declare.
(wrapup_globals_for_namespace)
diagnose_inline_vars_for_namespace): Replace with ...
(wrapup_namespace_globals): ... this.
* decl.c (static_decls): Define.
(wrapup_globals_for_namespace)
diagnose_inline_vars_for_namespace): Replace with ...
(wrapup_namespace_globals): ... this.
(cxx_init_decl_processing): Initialize static_decls.
* decl2.c (c_parse_final_cleanups): Adjust.
* name-lookup.h (cp_binding_level): Remove static_decls member.
* name-lookup.c (add_decl_to_level): Adjust.
(begin_scope): Adjust.
((--This line, and those below, will be ignored--
M cp/cp-tree.h
M cp/name-lookup.c
M cp/name-lookup.h
M cp/ChangeLog
M cp/decl2.c
M cp/decl.c
From-SVN: r247633
Diffstat (limited to 'gcc/tree-vrp.c')
0 files changed, 0 insertions, 0 deletions