diff options
author | David Malcolm <dmalcolm@redhat.com> | 2025-06-06 13:41:27 -0400 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2025-06-06 13:41:27 -0400 |
commit | 1233d79c1935f19104e76ba7aa842dc7ee6c2279 (patch) | |
tree | 9b09796d734557b6811d396f5e6d8e65129aed73 /libgfortran/generated/minval_i4.c | |
parent | 0401957b86fa29b25acf3e960e430e6a7c9196eb (diff) | |
download | gcc-1233d79c1935f19104e76ba7aa842dc7ee6c2279.zip gcc-1233d79c1935f19104e76ba7aa842dc7ee6c2279.tar.gz gcc-1233d79c1935f19104e76ba7aa842dc7ee6c2279.tar.bz2 |
diagnostics: move xml defs to a new xml.cc
While prototyping new features I'm finding it helpful to use XML
beyond the "experimental-html" diagnostics sink. Move the
implementation of the xml classes to their own file.
No functional change intended.
gcc/ChangeLog:
* Makefile.in (OBJS-libcommon): Add xml.o.
* diagnostic-format-html.cc (namespace xml): Move implementation
to xml.cc
(selftest::test_printer): Likewise.
(selftest::test_attribute_ordering): Likewise.
(selftest::diagnostic_format_html_cc_tests): Don't call the moved
tests here; they will be called from xml_cc_tests in xml.cc.
* selftest-run-tests.cc (selftest::run_tests): Call xml_cc_tests.
* selftest.h (selftest::xml_cc_tests): New decl.
* xml.cc: New file, based on material from
diagnostic-format-html.cc.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'libgfortran/generated/minval_i4.c')
0 files changed, 0 insertions, 0 deletions