aboutsummaryrefslogtreecommitdiff
path: root/libcpp/expr.cc
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2023-11-27 20:09:35 -0500
committerDavid Malcolm <dmalcolm@redhat.com>2023-11-27 20:09:35 -0500
commit93096d3ce14a89603bd30f0298fc15000a61e757 (patch)
treef6ab97bfaa3d9853ec34fd5755fc2866bb6e6b2a /libcpp/expr.cc
parentad3e759c172272f6f2ba66631e7e7bd03fb2b436 (diff)
downloadgcc-93096d3ce14a89603bd30f0298fc15000a61e757.zip
gcc-93096d3ce14a89603bd30f0298fc15000a61e757.tar.gz
gcc-93096d3ce14a89603bd30f0298fc15000a61e757.tar.bz2
diagnostics: add diagnostic_context::get_location_text
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. (default_diagnostic_start_span_fn): Likewise. (selftest::assert_location_text): Likewise. * diagnostic.h (diagnostic_context::get_location_text): New decl. Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'libcpp/expr.cc')
0 files changed, 0 insertions, 0 deletions