diff options
author | David Malcolm <dmalcolm@redhat.com> | 2024-06-21 18:20:38 -0400 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2024-06-21 18:20:38 -0400 |
commit | 4819dc7d4b84afa98881ffb8471cf19bc362221b (patch) | |
tree | 885a33a86b05a5e6c0a73ccb6bbb9e0f715cb758 /libcpp | |
parent | 37f3000a57d62b808188eb6a14a369f6a789e1ea (diff) | |
download | gcc-4819dc7d4b84afa98881ffb8471cf19bc362221b.zip gcc-4819dc7d4b84afa98881ffb8471cf19bc362221b.tar.gz gcc-4819dc7d4b84afa98881ffb8471cf19bc362221b.tar.bz2 |
diagnostics: move diagnostic_{event,path} functions to diagnostic-path.cc
No functional change intended.
gcc/ChangeLog:
* diagnostic-path.cc (diagnostic_event::meaning::dump_to_pp): Move
here from diagnostic.cc.
(diagnostic_event::meaning::maybe_get_verb_str): Likewise.
(diagnostic_event::meaning::maybe_get_noun_str): Likewise.
(diagnostic_event::meaning::maybe_get_property_str): Likewise.
(diagnostic_path::get_first_event_in_a_function): Likewise.
(diagnostic_path::interprocedural_p): Likewise.
(debug): Likewise for diagnostic_path * overload.
* diagnostic.cc (diagnostic_event::meaning::dump_to_pp): Move from
here to diagnostic-path.cc.
(diagnostic_event::meaning::maybe_get_verb_str): Likewise.
(diagnostic_event::meaning::maybe_get_noun_str): Likewise.
(diagnostic_event::meaning::maybe_get_property_str): Likewise.
(diagnostic_path::get_first_event_in_a_function): Likewise.
(diagnostic_path::interprocedural_p): Likewise.
(debug): Likewise for diagnostic_path * overload.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions