diff options
author | David Malcolm <dmalcolm@redhat.com> | 2024-10-09 21:26:09 -0400 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2024-10-09 21:26:09 -0400 |
commit | 00ede02bc8bb73da8f4bf1d7542142cd923b0c54 (patch) | |
tree | 27a5fc7c18a690081067b3d37b2e9b957e356945 /gcc/fortran | |
parent | a4e4f2d22589a8565bebf906930bf6a536a81167 (diff) | |
download | gcc-00ede02bc8bb73da8f4bf1d7542142cd923b0c54.zip gcc-00ede02bc8bb73da8f4bf1d7542142cd923b0c54.tar.gz gcc-00ede02bc8bb73da8f4bf1d7542142cd923b0c54.tar.bz2 |
diagnostics: move text output member functions to correct file
No functional change intended.
gcc/ChangeLog:
* diagnostic-format-text.cc
(diagnostic_text_output_format::after_diagnostic): Replace call to
show_any_path with body, taken from diagnostic.cc.
(diagnostic_text_output_format::build_prefix): Move here from
diagnostic.cc, updating to use get_diagnostic_kind_text and
diagnostic_get_color_for_kind.
(diagnostic_text_output_format::file_name_as_prefix): Move here
from diagnostic.cc
(diagnostic_text_output_format::append_note): Likewise.
* diagnostic-format-text.h
(diagnostic_text_output_format::show_any_path): Drop decl.
* diagnostic.cc
(diagnostic_text_output_format::file_name_as_prefix): Move to
diagnostic-format-text.cc.
(diagnostic_text_output_format::build_prefix): Likewise.
(diagnostic_text_output_format::show_any_path): Move to body of
diagnostic_text_output_format::after_diagnostic.
(diagnostic_text_output_format::append_note): Move to
diagnostic-format-text.cc.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions