]> git.ipfire.org Git - thirdparty/gcc.git/commit
c-format.cc: add ctors to format_check_results and format_check_context
authorDavid Malcolm <dmalcolm@redhat.com>
Mon, 8 Jul 2024 22:55:28 +0000 (18:55 -0400)
committerDavid Malcolm <dmalcolm@redhat.com>
Mon, 8 Jul 2024 22:55:28 +0000 (18:55 -0400)
commit113b5ce0610207717f651a3f8a3f1123d93f97af
tree68bdf48caf815f5df408a7b9a0b6026f635b2d1a
parent2b3027bea3f218599d36379d3d593841df7a1559
c-format.cc: add ctors to format_check_results and format_check_context

This is a minor cleanup I spotted whilst working on another patch.
No functional change intended.

gcc/c-family/ChangeLog:
* c-format.cc (format_check_results::format_check_results): New
ctor.
(struct format_check_context): Add ctor; add "m_" prefix to all
fields.
(check_format_info): Use above ctors.
(check_format_arg): Update for "m_" prefix to
format_check_context.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
gcc/c-family/c-format.cc