]> git.ipfire.org Git - thirdparty/gcc.git/commit
diagnostics/output-spec.cc: simplify implementation
authorDavid Malcolm <dmalcolm@redhat.com>
Wed, 13 Aug 2025 21:29:22 +0000 (17:29 -0400)
committerDavid Malcolm <dmalcolm@redhat.com>
Wed, 13 Aug 2025 21:29:22 +0000 (17:29 -0400)
commit1da90c533f944622f18609e568ed13b09073fd66
tree9159f9903ff7c35a3e6e68f4613cce0b16347366
parent0f665822a091061ef1a9268797736dff0ef82a87
diagnostics/output-spec.cc: simplify implementation

No functional change intended.

gcc/ChangeLog:
* diagnostics/output-spec.cc (sarif_scheme_handler::make_sink):
Populate sarif_generation_options instance directly, rather than
through local variables.
(sarif_scheme_handler::make_sarif_gen_opts): Drop.
(html_scheme_handler::make_sink): Populate html_generation_options
instance directly, rather than through local variables.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
gcc/diagnostics/output-spec.cc