gcc/libcpp
Nathan Sidwell b0d11f1ed6 [preprocessor] Include stacking
https://gcc.gnu.org/ml/gcc-patches/2019-08/msg01971.html
	* internal.h (enum include_type): Add IT_MAIN, IT_DIRECTIVE_HWM,
	IT_HEADER_HWM.
	(_cpp_stack_file): Take include_type, not a bool.
	* files.c (_cpp_find_file): Refactor to not hide an if inside a
	for conditional.
	(should_stack_file): Break apart to ...
	(is_known_idempotent_file, has_unique_contents): ... these.
	(_cpp_stack_file): Replace IMPORT boolean with include_type enum.
	Refactor to use new predicates.  Do linemap compensation here ...
	(_cpp_stack_include): ... not here.
	* init.c (cpp_read_main_file): Pass IT_MAIN to _cpp_stack_file.

From-SVN: r275034
2019-08-29 14:06:32 +00:00
..
include PR c++/61339 - add mismatch between struct and class [-Wmismatched-tags] to non-bugs 2019-07-09 12:32:49 -06:00
po * zh_TW.po: Update. 2019-08-09 23:02:08 +01:00
aclocal.m4
ChangeLog [preprocessor] Include stacking 2019-08-29 14:06:32 +00:00
ChangeLog.jit
charset.c
config.in
configure
configure.ac
directives-only.c [Preprocessor] small cleanups 2019-08-28 18:43:37 +00:00
directives.c [Preprocessor] small cleanups 2019-08-28 18:43:37 +00:00
errors.c
expr.c
files.c [preprocessor] Include stacking 2019-08-29 14:06:32 +00:00
identifiers.c
init.c [preprocessor] Include stacking 2019-08-29 14:06:32 +00:00
internal.h [preprocessor] Include stacking 2019-08-29 14:06:32 +00:00
lex.c
line-map.c PR c++/61339 - add mismatch between struct and class [-Wmismatched-tags] to non-bugs 2019-07-09 12:32:49 -06:00
location-example.txt
macro.c
Makefile.in
makeucnid.c
mkdeps.c PR c++/61339 - add mismatch between struct and class [-Wmismatched-tags] to non-bugs 2019-07-09 12:32:49 -06:00
pch.c
symtab.c
system.h
traditional.c
ucnid.h
ucnid.tab