Re: [PATCH 6/7] diagnostics: eliminate diagnostic_context::m_print_path callback

2024-06-18 Thread David Malcolm
On Tue, 2024-06-18 at 11:08 -0400, David Malcolm wrote: > No functional change intended. Sorry, it looks like I should have combined patches 6 and 7, in that patch 6 temporarily breaks the build: e.g.: https://builder.sourceware.org/buildbot/#/builders/156/builds/10063 make[2]: Leaving directo

[PATCH 6/7] diagnostics: eliminate diagnostic_context::m_print_path callback

2024-06-18 Thread David Malcolm
No functional change intended. gcc/ChangeLog: * diagnostic-format-json.cc (diagnostic_output_format_init_json): Replace clearing of diagnostic_context::m_print_path callback with setting the path format to DPF_NONE. * diagnostic-format-sarif.cc (diagnostic_o