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]

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


Author: nathan
Date: Mon Nov 25 21:12:06 2019
New Revision: 278704

URL: https://gcc.gnu.org/viewcvs?rev=278704&root=gcc&view=rev
Log:
	Namespaces are in the entity_ary
	gcc/cp/
	* module.cc (trees_out::decl_node): Namespace may be imported.
	(depset::hash::make_dependency): Permit imported namespaces.
	(module_state::{read,write}_namespace): New.
	(module_state::{read,write}_namespaces): Adjust.
	(module_state::{read,write]_bindings): Adjust.
	(module_state::write): Don't count imported namespaces.
	* name-lookup.c (add_imported_namespace): Mark namespace as
	imported, if we made it.
	gcc/testsuite/
	* g++.dg/modules/indirect-[1234]_[bc].C: Adjust scans.
	* g++.dg/modules/namespace-2_a.C: Likewise.

Modified:
    branches/c++-modules/ChangeLog.modules
    branches/c++-modules/gcc/cp/module.cc
    branches/c++-modules/gcc/cp/name-lookup.c
    branches/c++-modules/gcc/testsuite/g++.dg/modules/indirect-1_b.C
    branches/c++-modules/gcc/testsuite/g++.dg/modules/indirect-1_c.C
    branches/c++-modules/gcc/testsuite/g++.dg/modules/indirect-2_b.C
    branches/c++-modules/gcc/testsuite/g++.dg/modules/indirect-2_c.C
    branches/c++-modules/gcc/testsuite/g++.dg/modules/indirect-3_b.C
    branches/c++-modules/gcc/testsuite/g++.dg/modules/indirect-3_c.C
    branches/c++-modules/gcc/testsuite/g++.dg/modules/indirect-4_b.C
    branches/c++-modules/gcc/testsuite/g++.dg/modules/indirect-4_c.C
    branches/c++-modules/gcc/testsuite/g++.dg/modules/namespace-2_a.C


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