Re: [PATCH 4/5] diagnostics: add diagnostic_context::get_location_text

2023-11-27 Thread David Malcolm
On Tue, 2023-11-21 at 17:20 -0500, David Malcolm wrote: > No functional change intended. > > gcc/ChangeLog: > * diagnostic.cc (diagnostic_get_location_text): Convert to... > (diagnostic_context::get_location_text): ...this, and convert > return type from char * to label_tex

[PATCH 4/5] diagnostics: add diagnostic_context::get_location_text

2023-11-21 Thread David Malcolm
No functional change intended. gcc/ChangeLog: * diagnostic.cc (diagnostic_get_location_text): Convert to... (diagnostic_context::get_location_text): ...this, and convert return type from char * to label_text. (diagnostic_build_prefix): Update for above change.