)]}'
{
  "commit": "1e7efca659cdf37a95e27e35fa002d340ea68b32",
  "tree": "9d96e8275b35da3cd81d353a1c98f6554f76c606",
  "parents": [
    "1100917aed67c063c9d011cb16f67be5df25c732"
  ],
  "author": {
    "name": "Carson Radtke",
    "email": "nosrac925@gmail.com",
    "time": "Fri Nov 28 00:26:43 2025 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri Nov 28 15:26:43 2025 +0800"
  },
  "message": "[clang] fix crash when template with constructor attribute is instantiated without a priority (#169282)\n\nfixes: https://github.com/llvm/llvm-project/issues/169072\n\nThe current implementation expects the priority argument to be provided\nto `[[gnu::constructor(\u003cpriority\u003e)]]`, but the argument is really\noptional. This was causing a segfault when instantiating the\nfunction-template because we were trying to fold an `Expr*` that was a\nnullptr.\n\nThis change skips the evaluation of the priority argument when it is\nmissing; this will instantiate a function declaration with the default\npriority (65535).",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4cfcd37df1866444702efe0cf698ce568a926a26",
      "old_mode": 33188,
      "old_path": "clang/docs/ReleaseNotes.rst",
      "new_id": "da064534c25d9ce1d6ed1547f6520ae66a05c6fc",
      "new_mode": 33188,
      "new_path": "clang/docs/ReleaseNotes.rst"
    },
    {
      "type": "modify",
      "old_id": "26693514bb278c3c401e3c6a35d6910e650b3198",
      "old_mode": 33188,
      "old_path": "clang/lib/Sema/SemaTemplateInstantiateDecl.cpp",
      "new_id": "e74c41517ecbf9c5c1573ffa082280b25b7863e6",
      "new_mode": 33188,
      "new_path": "clang/lib/Sema/SemaTemplateInstantiateDecl.cpp"
    },
    {
      "type": "modify",
      "old_id": "20fe983af28f73b358f4293b33ae887761f27eb9",
      "old_mode": 33188,
      "old_path": "clang/test/SemaTemplate/attributes.cpp",
      "new_id": "d0ab0a68dec2a5d692d2460a3e8d663c3e869c0a",
      "new_mode": 33188,
      "new_path": "clang/test/SemaTemplate/attributes.cpp"
    }
  ]
}
