]> 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)
committerDavid Malcolm <dmalcolm@redhat.com>
Wed, 24 Jul 2024 22:07:51 +0000 (18:07 -0400)
commit6baa26c3d6ceec1aba5f143dbfef00e24aa795bb
tree65b7dce6956ed75869c5b82c61665f41a7b08991
parent8c71830b51e6fd10087ce3f6791de80eb1f10b96
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