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]

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


Author: nathan
Date: Tue Aug 28 18:33:23 2018
New Revision: 263927

URL: https://gcc.gnu.org/viewcvs?rev=263927&root=gcc&view=rev
Log:
	Macro define locations
	libcpp/
	* include/cpplib.h (cpp_macro): Add imported field.
	gcc/cp/
	* module.c (module_state::write_define_cb): Ignore imported, write
	location.
	(module_state::read_defines): Read location.
	gcc/testsuite/
	* g++.dg/modules/macro-2_[abc].H: New.
	* g++.dg/modules/macro-2_d.C New.

Added:
    branches/c++-modules/gcc/testsuite/g++.dg/modules/macro-2_a.H
    branches/c++-modules/gcc/testsuite/g++.dg/modules/macro-2_b.H
    branches/c++-modules/gcc/testsuite/g++.dg/modules/macro-2_c.H
    branches/c++-modules/gcc/testsuite/g++.dg/modules/macro-2_d.C
Modified:
    branches/c++-modules/ChangeLog.modules
    branches/c++-modules/gcc/cp/module.c
    branches/c++-modules/libcpp/include/cpplib.h


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