]> git.ipfire.org Git - thirdparty/gcc.git/commit
gcov: reduce use of naked "new" for json output
authorDavid Malcolm <dmalcolm@redhat.com>
Wed, 24 Jul 2024 22:07:52 +0000 (18:07 -0400)
committerDavid Malcolm <dmalcolm@redhat.com>
Wed, 24 Jul 2024 22:07:52 +0000 (18:07 -0400)
commitda0def223e82a4a9400915b2957e96f9f060f5af
treed8ed54a71fa161a8b29ffb55f1c7484b446caed0
parent78d1906c982ad49a0742a7bc1624762159ca165c
gcov: reduce use of naked "new" for json output

No functional change intended.

gcc/ChangeLog:
* gcov.cc (output_intermediate_json_line): Use
json::object::set_integer to avoid naked "new".

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