)]}'
{
  "commit": "f7fb52aea0b90a2fa76f162e8cbd481c5e1bd91b",
  "tree": "ffe364234b4aad697dc88bb032a327c33495f589",
  "parents": [
    "c636a39e33594f493e3a4e831ddee952cd9b5cb6"
  ],
  "author": {
    "name": "Marco Elver",
    "email": "elver@google.com",
    "time": "Wed Oct 22 14:58:06 2025 +0200"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Oct 22 14:58:06 2025 +0200"
  },
  "message": "[Clang] Move AllocToken frontend options to LangOptions (#163635)\n\nMove the `AllocTokenMax` from `CodeGenOptions` and introduces a new\n`AllocTokenMode` to `LangOptions`. Note, `-falloc-token-mode\u003d`\ndeliberately remains an internal experimental option.\n\nThis refactoring is necessary because these options influence frontend\nbehavior, specifically constexpr evaluation of `__builtin_infer_alloc_token`.\nPlacing them in `LangOptions` makes them accessible during semantic analysis,\nwhich occurs before codegen.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "bda84669456cef3bbaea7d237720d44318e2f2ca",
      "old_mode": 33188,
      "old_path": "clang/docs/AllocToken.rst",
      "new_id": "b65e18ccfa9675e6a1c3f17231a146c56c051a9a",
      "new_mode": 33188,
      "new_path": "clang/docs/AllocToken.rst"
    },
    {
      "type": "modify",
      "old_id": "cae06c3c9495ab16c441dad78b67ee075f1224d1",
      "old_mode": 33188,
      "old_path": "clang/include/clang/Basic/CodeGenOptions.h",
      "new_id": "5d5cf250b56b9e70b89e4e5d6c898db37d5834d7",
      "new_mode": 33188,
      "new_path": "clang/include/clang/Basic/CodeGenOptions.h"
    },
    {
      "type": "modify",
      "old_id": "260a7537edb9d05e898f86b57c2673220d33c5fb",
      "old_mode": 33188,
      "old_path": "clang/include/clang/Basic/LangOptions.h",
      "new_id": "8aa89d8c8c8078078377dd3676297bd3e32e67dd",
      "new_mode": 33188,
      "new_path": "clang/include/clang/Basic/LangOptions.h"
    },
    {
      "type": "modify",
      "old_id": "7ae153deb9a5538239a9ff675f5173561a10e88f",
      "old_mode": 33188,
      "old_path": "clang/include/clang/Driver/Options.td",
      "new_id": "0c9584f1b479fd7d5d96da32fd6112cfe9c07888",
      "new_mode": 33188,
      "new_path": "clang/include/clang/Driver/Options.td"
    },
    {
      "type": "modify",
      "old_id": "ecfbcb597009278a9671d7deb8b65dd0706db8d5",
      "old_mode": 33188,
      "old_path": "clang/lib/CodeGen/BackendUtil.cpp",
      "new_id": "c423c4bebcac8a6b66cdbe079d9c7d7be35f0234",
      "new_mode": 33188,
      "new_path": "clang/lib/CodeGen/BackendUtil.cpp"
    },
    {
      "type": "modify",
      "old_id": "5bd15f5d4ca31e1b31545a89d5b45d6c8d82de24",
      "old_mode": 33188,
      "old_path": "clang/lib/Frontend/CompilerInvocation.cpp",
      "new_id": "d2cb751c9f77cedf57abaaac3e89ff81c10f2410",
      "new_mode": 33188,
      "new_path": "clang/lib/Frontend/CompilerInvocation.cpp"
    },
    {
      "type": "modify",
      "old_id": "2964f60c4f26fa62aa799ab25e5dddd65f5e5c8b",
      "old_mode": 33188,
      "old_path": "clang/test/Driver/fsanitize-alloc-token.c",
      "new_id": "6d8bda16dfb969c9651ed7934e15840347cd6fa7",
      "new_mode": 33188,
      "new_path": "clang/test/Driver/fsanitize-alloc-token.c"
    }
  ]
}
