diff options
author | David Malcolm <dmalcolm@redhat.com> | 2024-10-14 19:22:46 -0400 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2024-10-14 19:22:46 -0400 |
commit | 23e7b702521aa5611eeee060a0b8dd194f3801fc (patch) | |
tree | df5263fb8a46f200a94953e17fb8843731c1ef37 /libcpp/include/cpplib.h | |
parent | 2c08ddd3fdd4af794ce66dbabb81ba2e6aee0b7c (diff) | |
download | gcc-23e7b702521aa5611eeee060a0b8dd194f3801fc.zip gcc-23e7b702521aa5611eeee060a0b8dd194f3801fc.tar.gz gcc-23e7b702521aa5611eeee060a0b8dd194f3801fc.tar.bz2 |
diagnostics: fix overload of emit_diagnostic [PR117109]
I accidentally broke "make gcc.pot" in r15-4081 by adding
a member function diagnostic_context::emit_diagnostic with a
gmsgid in a different position to the existing emit_diagnostic
functions, which exgettext's parser can't handle.
Fixed thusly.
gcc/ChangeLog:
PR bootstrap/117109
* diagnostic-format-sarif.cc
(diagnostic_output_format_init_sarif_file): Rename
diagnostic_context::emit_diagnostic to
diagnostic_context::emit_diagnostic_with_group.
* diagnostic.cc (diagnostic_context::emit_diagnostic): Rename
to...
(diagnostic_context::emit_diagnostic_with_group): ...this.
(diagnostic_context::emit_diagnostic_va): Rename to...
(diagnostic_context::emit_diagnostic_with_group_va): ...this.
* diagnostic.h (diagnostic_context::emit_diagnostic): Rename to...
(diagnostic_context::emit_diagnostic_with_group): ...this.
(diagnostic_context::emit_diagnostic_va): Rename to...
(diagnostic_context::emit_diagnostic_with_group_va): ...this.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'libcpp/include/cpplib.h')
0 files changed, 0 insertions, 0 deletions