]> git.ipfire.org Git - thirdparty/gcc.git/commit
diagnostics: simplifying output-spec.cc
authorDavid Malcolm <dmalcolm@redhat.com>
Tue, 30 Sep 2025 21:23:31 +0000 (17:23 -0400)
committerDavid Malcolm <dmalcolm@redhat.com>
Tue, 30 Sep 2025 21:23:31 +0000 (17:23 -0400)
commit233d3121c3a64e1e39590f5bd545469b05b9024d
tree13d024701c04553b61c2a3f12ab58fd4978ac06b
parent4c1d8818dee177b4f6c3adbf747873a0443d02b6
diagnostics: simplifying output-spec.cc

No functional change intended.

gcc/ChangeLog:
* diagnostics/output-spec.cc: Rename "parsed_arg" to
"scheme_and_kvs" throughout.  Rename "unparsed_arg" to
"unparsed_spec" throughout, and make a member of
output_spec::context rather than passing it around.
* diagnostics/output-spec.h: Likewise.
* libgdiagnostics.cc: Likewise.
* opts-diagnostic.cc: Likewise.

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