]> git.ipfire.org Git - thirdparty/gcc.git/commit
json: add dump overload for easier debugging
authorDavid Malcolm <dmalcolm@redhat.com>
Wed, 24 Jul 2024 22:07:51 +0000 (18:07 -0400)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 28 Jul 2024 17:05:53 +0000 (19:05 +0200)
commit4dbb4af7aafdd67eb4d8247c83e92d2d1e9bbbd7
tree72bad2c9ac737086577c1e6134bdaaa41c437d8e
parentea94dde1aa58bd337772f74787f821b34f866c4a
json: add dump overload for easier debugging

This has saved me a lot of typing in the debugger.

gcc/ChangeLog:
* json.cc (value::dump): New overload, taking no params.
* json.h (value::dump): New decl.

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