)]}'
{
  "commit": "6fb99666f4bbc79708acb8efb2d80e57de67b80b",
  "tree": "da54d6f85d4d63ddd625bcd9abcfed77ecb1db03",
  "parents": [
    "c33ea119b1a5cca79f9efc0a6d5603667954358d"
  ],
  "author": {
    "name": "Ciaran Woodward",
    "email": "ciaranwoodward@xmos.com",
    "time": "Tue Feb 06 17:56:07 2024 +0000"
  },
  "committer": {
    "name": "Ciaran Woodward",
    "email": "ciaranwoodward@xmos.com",
    "time": "Wed Feb 07 16:08:04 2024 +0000"
  },
  "message": "Remove use of scoped_restore_tmpl from scoped_restore_warning_hook\n\nThe warning_hook_handler function pointer takes va_list as\nan argument, which on some platforms (mingw64) includes some\nattributes. Attributes get ignored in template arguments.\nThis led to the compiler warning:\n\nerror: ignoring attributes on template argument \u0027warning_hook_handler\u0027 {aka \u0027void (*)(const char*, char*)\u0027} [-Werror\u003dignored-attributes]\n  387 |   scoped_restore_tmpl\u003cwarning_hook_handler\u003e m_save;\n      |                                           ^\n\nBy manually implementing the save/restore behaviour, rather\nthan using the helper template, this warning is fixed.\n\nApproved-By: Tom Tromey \u003ctom@tromey.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "702c3f1582604b60d526599aa23b8224ebcc8a64",
      "old_mode": 33188,
      "old_path": "gdb/utils.c",
      "new_id": "a1aeb1025fa0945062c183105987e402b7d17e9e",
      "new_mode": 33188,
      "new_path": "gdb/utils.c"
    },
    {
      "type": "modify",
      "old_id": "7487590902a3335a84b08e86159f4f9ec8258239",
      "old_mode": 33188,
      "old_path": "gdb/utils.h",
      "new_id": "2acd1fc4624dfc966919eb6fffa50a3245611d23",
      "new_mode": 33188,
      "new_path": "gdb/utils.h"
    }
  ]
}
