This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r246931 - in /branches/c++-modules: ChangeLog.m...


Author: nathan
Date: Fri Apr 14 21:02:39 2017
New Revision: 246931

URL: https://gcc.gnu.org/viewcvs?rev=246931&root=gcc&view=rev
Log:
	Kill per-namespace static_decls.
	gcc/cp/
	* 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.

Modified:
    branches/c++-modules/ChangeLog.modules
    branches/c++-modules/gcc/cp/cp-tree.h
    branches/c++-modules/gcc/cp/decl.c
    branches/c++-modules/gcc/cp/decl2.c
    branches/c++-modules/gcc/cp/name-lookup.c
    branches/c++-modules/gcc/cp/name-lookup.h


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]