)]}'
{
  "commit": "104f7f7d145d1d6e8a773c31442fdc782b44f681",
  "tree": "d11de67febdcc8afec5c8af5bcd5fa42c3b4c112",
  "parents": [
    "471f13d60084a07a69315459d728a2f5bec0af83"
  ],
  "author": {
    "name": "David Malcolm",
    "email": "dmalcolm@redhat.com",
    "time": "Fri Nov 13 16:26:06 2026 -0500"
  },
  "committer": {
    "name": "David Malcolm",
    "email": "dmalcolm@redhat.com",
    "time": "Fri Nov 13 16:26:06 2026 -0500"
  },
  "message": "diagnostics: add diagnostics::markup\n\nThis patch adds a new tree-like representation for use when building\ndiagnostic messages.\n\nThe version in this patch is rather simplistic, and is purely to support\nvarious awkward cases in upcoming patches I have that rework the insides\nof the analyzer.  I hope to eventually extend the markup support to\nallow capturing richer markup in diagnostic sink output (e.g. HTML\noutput, markdown in SARIF, etc), but I\u0027m deliberately keeping the scope\nof this patch quite narrow.\n\ngcc/ChangeLog:\n\t* Makefile.in (OBJS-libcommon): Add diagnostics/markup.o.\n\t* diagnostics/diagnostics-selftests.cc\n\t(diagnostics::selftest::run_diagnostics_selftests): Call\n\tmarkup_cc_tests.\n\t* diagnostics/diagnostics-selftests.h\n\t(diagnostics::selftest::markup_cc_tests): New decl.\n\t* diagnostics/markup.cc: New file.\n\t* diagnostics/markup.h: New file.\n\nSigned-off-by: David Malcolm \u003cdmalcolm@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c6059206a950f0aa971eb7b20b16906d3028417b",
      "old_mode": 33188,
      "old_path": "gcc/Makefile.in",
      "new_id": "7d9536d8da4c138917b72178f200c16c4452e200",
      "new_mode": 33188,
      "new_path": "gcc/Makefile.in"
    },
    {
      "type": "modify",
      "old_id": "bb371e79763628a383bbcb40f41c46b10e3deba0",
      "old_mode": 33188,
      "old_path": "gcc/diagnostics/diagnostics-selftests.cc",
      "new_id": "ad794d5eff3543aa99c60194af10b43f8000f495",
      "new_mode": 33188,
      "new_path": "gcc/diagnostics/diagnostics-selftests.cc"
    },
    {
      "type": "modify",
      "old_id": "da1460f324bc0fcb5f6ac368969b9d09f3f5d833",
      "old_mode": 33188,
      "old_path": "gcc/diagnostics/diagnostics-selftests.h",
      "new_id": "73b556324b0945fbd3481ff3a53f203d6356cdeb",
      "new_mode": 33188,
      "new_path": "gcc/diagnostics/diagnostics-selftests.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "a73486d776bde36a0a8dccce5d9d91f7f2440d92",
      "new_mode": 33188,
      "new_path": "gcc/diagnostics/markup.cc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "d1dbc62cd73110ee86508a059d53f33a7f251b70",
      "new_mode": 33188,
      "new_path": "gcc/diagnostics/markup.h"
    }
  ]
}
