gcc/libcpp
David Malcolm 78d132d73e libcpp: split decls out to rich-location.h
The various decls relating to rich_location are in
libcpp/include/line-map.h, but they don't relate to line maps.

Split them out to their own header: libcpp/include/rich-location.h

No functional change intended.

gcc/ChangeLog:
	* Makefile.in (CPPLIB_H): Add libcpp/include/rich-location.h.
	* coretypes.h (class rich_location): New forward decl.

gcc/analyzer/ChangeLog:
	* analyzer.h: Include "rich-location.h".

gcc/c-family/ChangeLog:
	* c-lex.cc: Include "rich-location.h".

gcc/cp/ChangeLog:
	* mapper-client.cc: Include "rich-location.h".

gcc/ChangeLog:
	* diagnostic.h: Include "rich-location.h".
	* edit-context.h (class fixit_hint): New forward decl.
	* gcc-rich-location.h: Include "rich-location.h".
	* genmatch.cc: Likewise.
	* pretty-print.h: Likewise.

gcc/rust/ChangeLog:
	* rust-location.h: Include "rich-location.h".

libcpp/ChangeLog:
	* Makefile.in (TAGS_SOURCES): Add "include/rich-location.h".
	* include/cpplib.h (class rich_location): New forward decl.
	* include/line-map.h (class range_label)
	(enum range_display_kind, struct location_range)
	(class semi_embedded_vec, class rich_location, class label_text)
	(class range_label, class fixit_hint): Move to...
	* include/rich-location.h: ...this new file.
	* internal.h: Include "rich-location.h".

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
2023-11-19 06:26:40 -05:00
..
include libcpp: split decls out to rich-location.h 2023-11-19 06:26:40 -05:00
po Daily bump. 2023-05-10 00:17:49 +00:00
aclocal.m4 *: add modern gettext 2023-11-14 00:47:11 +01:00
ChangeLog Daily bump. 2023-11-15 00:16:41 +00:00
ChangeLog.jit
charset.cc c++: Implement C++26 P1854R4 - Making non-encodable string literals ill-formed [PR110341] 2023-11-14 18:28:34 +01:00
combining-chars.inc diagnostics: add support for "text art" diagrams 2023-06-21 21:49:00 -04:00
config.in libcpp: Regenerate config.in 2023-11-14 01:02:22 +01:00
configure *: add modern gettext 2023-11-14 00:47:11 +01:00
configure.ac configure: Implement --enable-host-pie 2023-06-15 16:51:27 -04:00
directives.cc c: Refer more consistently to C23 not C2X 2023-11-07 14:20:30 +00:00
errors.cc Update copyright years. 2023-01-16 11:52:17 +01:00
expr.cc c: Refer more consistently to C23 not C2X 2023-11-07 14:20:30 +00:00
files.cc libcpp: Fix ICE on #include after a line marker directive [PR61474] 2023-09-20 16:44:24 -04:00
generated_cpp_wcwidth.h libcpp, contrib: Update to Unicode 15.1 2023-11-14 18:32:37 +01:00
identifiers.cc libcpp: Improve the diagnostic for poisoned identifiers [PR36887] 2023-10-23 18:35:26 -04:00
init.cc c: Refer more consistently to C23 not C2X 2023-11-07 14:20:30 +00:00
internal.h libcpp: split decls out to rich-location.h 2023-11-19 06:26:40 -05:00
lex.cc c: Refer more consistently to C23 not C2X 2023-11-07 14:20:30 +00:00
line-map.cc diagnostics: cleanups to diagnostic-show-locus.cc 2023-11-09 17:22:52 -05:00
location-example.txt
macro.cc c: Refer more consistently to C23 not C2X 2023-11-07 14:20:30 +00:00
Makefile.in libcpp: split decls out to rich-location.h 2023-11-19 06:26:40 -05:00
makeucnid.cc libcpp, contrib: Update to Unicode 15.1 2023-11-14 18:32:37 +01:00
makeuname2c.cc libcpp, contrib: Update to Unicode 15.1 2023-11-14 18:32:37 +01:00
mkdeps.cc p1689r5: initial support 2023-09-19 17:32:23 -04:00
pch.cc libcpp: Improve location for macro names [PR66290] 2023-06-20 16:58:12 -04:00
printable-chars.inc diagnostics: add support for "text art" diagrams 2023-06-21 21:49:00 -04:00
symtab.cc Update copyright years. 2023-01-16 11:52:17 +01:00
system.h Update copyright years. 2023-01-16 11:52:17 +01:00
traditional.cc Update copyright years. 2023-01-16 11:52:17 +01:00
ucnid.h libcpp, contrib: Update to Unicode 15.1 2023-11-14 18:32:37 +01:00
ucnid.tab Update copyright years. 2023-01-16 11:52:17 +01:00
uname2c.h libcpp, contrib: Update to Unicode 15.1 2023-11-14 18:32:37 +01:00