]> git.ipfire.org Git - thirdparty/gcc.git/commit
diagnostics: cleanups to opts-diagnostic.cc
authorDavid Malcolm <dmalcolm@redhat.com>
Mon, 4 Nov 2024 19:48:23 +0000 (14:48 -0500)
committerDavid Malcolm <dmalcolm@redhat.com>
Mon, 4 Nov 2024 19:48:23 +0000 (14:48 -0500)
commit196b13f72f3549442c9e3ea3874ce930d193a1e9
tree860eb8dcd1349f356156e92ba31e6b4cbebe611b
parent7bb75a5edc1b3c90500e2a78124feac7beefacad
diagnostics: cleanups to opts-diagnostic.cc

No functional change intended.

gcc/ChangeLog:
* opts-diagnostic.cc: Apply renamings throughout for clarity: from
"name" and "format_name" to "scheme_name", from "m_format" to
"m_scheme_name", and from "handler" to "scheme_handler".
(output_factory::scheme_handler::get_handler): Pass name by const
reference.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
gcc/opts-diagnostic.cc