gcc/libcpp
David Malcolm ba4ad400f1 libcpp/input.c: Add a way to visualize the linemaps (-fdump-internal-locations)
gcc/ChangeLog:
	* common.opt (fdump-internal-locations): New option.
	* input.c: Include diagnostic-core.h.
	(get_end_location): New function.
	(write_digit): New function.
	(write_digit_row): New function.
	(dump_location_range): New function.
	(dump_labelled_location_range): New function.
	(dump_location_info): New function.
	* input.h (dump_location_info): New prototype.
	* toplev.c (compile_file): Handle flag_dump_locations.

libcpp/ChangeLog:
	* include/line-map.h (source_location): Add a reference to
	location-example.txt to the descriptive comment.
	* location-example.txt: New file.

From-SVN: r223163
2015-05-13 13:58:18 +00:00
..
include libcpp/input.c: Add a way to visualize the linemaps (-fdump-internal-locations) 2015-05-13 13:58:18 +00:00
po * sv.po: Update. 2015-05-01 17:23:49 +01:00
ChangeLog libcpp/input.c: Add a way to visualize the linemaps (-fdump-internal-locations) 2015-05-13 13:58:18 +00:00
ChangeLog.jit Merger of dmalcolm/jit branch from git 2014-11-11 21:55:52 +00:00
Makefile.in Update copyright years. 2015-01-05 13:33:28 +01:00
aclocal.m4 libcpp: Bump to automake 1.11.6 2015-05-13 11:02:17 +00:00
charset.c Update copyright years. 2015-01-05 13:33:28 +01:00
config.in configure.ac: Remove long long and __int64 type checks... 2014-05-26 08:19:02 +00:00
configure configure.ac: Remove long long and __int64 type checks... 2014-05-26 08:19:02 +00:00
configure.ac configure.ac: Remove long long and __int64 type checks... 2014-05-26 08:19:02 +00:00
directives-only.c Update copyright years. 2015-01-05 13:33:28 +01:00
directives.c Implement -Wmisleading-indentation 2015-05-12 20:57:38 +00:00
errors.c Update copyright years. 2015-01-05 13:33:28 +01:00
expr.c expr.c (cpp_classify_number): Add N_() around ?... 2015-01-16 18:40:15 +01:00
files.c re PR pch/65550 (ICE (segfault) with pch) 2015-04-09 13:37:53 +00:00
identifiers.c Update copyright years. 2015-01-05 13:33:28 +01:00
init.c lex.c (lex_string): Add -Wc++11-compat warning. 2015-05-09 00:50:10 -04:00
internal.h re PR preprocessor/65238 (__has_attribute is not handled properly with -traditional-cpp.) 2015-03-23 09:02:39 +01:00
lex.c lex.c (lex_string): Add -Wc++11-compat warning. 2015-05-09 00:50:10 -04:00
line-map.c libcpp: Replace macro usage with C++ constructs 2015-05-13 11:51:03 +00:00
location-example.txt libcpp/input.c: Add a way to visualize the linemaps (-fdump-internal-locations) 2015-05-13 13:58:18 +00:00
macro.c PR preprocessor/64803 - __LINE__ inside macro is not constant 2015-02-03 10:26:46 +01:00
makeucnid.c Update copyright years. 2015-01-05 13:33:28 +01:00
mkdeps.c Update copyright years. 2015-01-05 13:33:28 +01:00
pch.c Fix indentation issues seen by -Wmisleading-indentation 2015-05-05 19:41:11 +00:00
symtab.c Update copyright years. 2015-01-05 13:33:28 +01:00
system.h Update copyright years. 2015-01-05 13:33:28 +01:00
traditional.c re PR preprocessor/65238 (__has_attribute is not handled properly with -traditional-cpp.) 2015-03-23 09:02:39 +01:00
ucnid.h Update copyright years. 2015-01-05 13:33:28 +01:00
ucnid.tab Update copyright years. 2015-01-05 13:33:28 +01:00