)]}'
{
  "commit": "26b63e898bf12139ba075cc282c59f74101ff1a2",
  "tree": "fea5a4a714f7cb1295afb6afdc403bdddb8eac2b",
  "parents": [
    "d8bc0cc54db0bb54cd0d48517bc2b6d13d47d584"
  ],
  "author": {
    "name": "Augie Fackler",
    "email": "augie@google.com",
    "time": "Wed Nov 04 13:04:31 2026 -0500"
  },
  "committer": {
    "name": "Augie Fackler",
    "email": "raf@durin42.com",
    "time": "Fri Nov 13 13:52:47 2026 -0500"
  },
  "message": "CGCall: emit allocptr attributes for operator delete\n\nWith this change, we\u0027re almost ready to drop the entire table out of\nMemoryBuiltins.cpp and rely solely on attributes to detect allocator\nfunctions.\n\nPer review feedback on D123085, emit `allocptr` in\n`CodeGenModule::ConstructAttributeList` so that both the function\ndeclaration and all calls to replaceable global `operator delete` /\n`operator delete[]` receive the attribute.\n\nThis patch is originally from 2023 and was rebased and revised with\nassistance from an LLM. I have manually reviewed the diffs to the\nlimit of my abilities (I don\u0027t do much in LLVM, and this is my first\ntime touching clang in a meaningful way) and they appear sensible. The\ncommit messages are entirely written by me.\n\nDifferential Revision: https://reviews.llvm.org/D123085\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1d7f9f742b87e94ca52c8321647090086e1552de",
      "old_mode": 33188,
      "old_path": "clang/lib/CodeGen/CGCall.cpp",
      "new_id": "ee0db0ce59cc5eed7f6f70570bd0ba5bb0491135",
      "new_mode": 33188,
      "new_path": "clang/lib/CodeGen/CGCall.cpp"
    },
    {
      "type": "modify",
      "old_id": "be18ea46c5ecab8f6fe98e35a5d07497864a481d",
      "old_mode": 33188,
      "old_path": "clang/test/CIR/CodeGen/delete-aligned.cpp",
      "new_id": "98748b46b9ce7ec761487d7b722782464a178344",
      "new_mode": 33188,
      "new_path": "clang/test/CIR/CodeGen/delete-aligned.cpp"
    },
    {
      "type": "modify",
      "old_id": "493c6487341a9982a28501a730f9c92a6c523fc9",
      "old_mode": 33188,
      "old_path": "clang/test/CIR/CodeGen/delete-array-aligned.cpp",
      "new_id": "bbf81fa78557210b243513fd7ac5257482a426de",
      "new_mode": 33188,
      "new_path": "clang/test/CIR/CodeGen/delete-array-aligned.cpp"
    },
    {
      "type": "modify",
      "old_id": "47f36519592bb77a2afba38ac07e7368bfafc2ed",
      "old_mode": 33188,
      "old_path": "clang/test/CIR/CodeGen/delete.cpp",
      "new_id": "9d803e50de9a0f1fbad40708c0a9aa3f4c329e4e",
      "new_mode": 33188,
      "new_path": "clang/test/CIR/CodeGen/delete.cpp"
    },
    {
      "type": "modify",
      "old_id": "0b94fa22750763baf14ea83483d1617f5d540d8c",
      "old_mode": 33188,
      "old_path": "clang/test/CIR/CodeGen/new-delete-deactivation.cpp",
      "new_id": "214571fbc841b652c34cff1cb1bbebc7236b9c14",
      "new_mode": 33188,
      "new_path": "clang/test/CIR/CodeGen/new-delete-deactivation.cpp"
    },
    {
      "type": "modify",
      "old_id": "da453049aeaa15d815623bffcede7caafc89b439",
      "old_mode": 33188,
      "old_path": "clang/test/CIR/CodeGen/new-delete.cpp",
      "new_id": "4aa19334533cd43d609a1dbc3826cf8a9312269f",
      "new_mode": 33188,
      "new_path": "clang/test/CIR/CodeGen/new-delete.cpp"
    },
    {
      "type": "modify",
      "old_id": "68f849299ddc3f311a22f7a21d6a8a59107fd195",
      "old_mode": 33188,
      "old_path": "clang/test/CIR/CodeGen/nobuiltin-replaceable-allocation.cpp",
      "new_id": "6449913732f9b8583444b0ca2327c8fa6b6e94f8",
      "new_mode": 33188,
      "new_path": "clang/test/CIR/CodeGen/nobuiltin-replaceable-allocation.cpp"
    },
    {
      "type": "modify",
      "old_id": "5d7e5f54b4b796815e893a97705da7bb3b230125",
      "old_mode": 33188,
      "old_path": "clang/test/CIR/CodeGenCXX/new-array-init-list-non-trivial-dtor.cpp",
      "new_id": "ea8cec786bd6b0b2eef7475d65e6c829990312a3",
      "new_mode": 33188,
      "new_path": "clang/test/CIR/CodeGenCXX/new-array-init-list-non-trivial-dtor.cpp"
    },
    {
      "type": "modify",
      "old_id": "c5f9e41a1da7e2c6257df69350b18f35f35cf678",
      "old_mode": 33188,
      "old_path": "clang/test/CIR/CodeGenHIP/array-structor-addrspace.hip",
      "new_id": "4240682d95704e9c6720bf5c486d93655e8a0a1a",
      "new_mode": 33188,
      "new_path": "clang/test/CIR/CodeGenHIP/array-structor-addrspace.hip"
    },
    {
      "type": "modify",
      "old_id": "a605abd8ec31a2ff0d18f524e37d1a78817d52b3",
      "old_mode": 33188,
      "old_path": "clang/test/CodeGen/pr53127.cpp",
      "new_id": "17f1dde50b5db27cb885ae5554db5c2d1761b45a",
      "new_mode": 33188,
      "new_path": "clang/test/CodeGen/pr53127.cpp"
    },
    {
      "type": "modify",
      "old_id": "2138e1f724972c7109c75a7e740c672c442be923",
      "old_mode": 33188,
      "old_path": "clang/test/CodeGenCXX/builtin-operator-new-delete.cpp",
      "new_id": "a44926e43b5e22dcda560cc52548831da15f44ec",
      "new_mode": 33188,
      "new_path": "clang/test/CodeGenCXX/builtin-operator-new-delete.cpp"
    },
    {
      "type": "modify",
      "old_id": "55913aff9c19b98543993474d7dbb4f83af3c4fc",
      "old_mode": 33188,
      "old_path": "clang/test/CodeGenCXX/cxx1y-sized-deallocation.cpp",
      "new_id": "8bbbaa3a2b71995903ca147e5d0a9d84898bd996",
      "new_mode": 33188,
      "new_path": "clang/test/CodeGenCXX/cxx1y-sized-deallocation.cpp"
    },
    {
      "type": "modify",
      "old_id": "8823bc64a4368bbead683dec3b4ac623e3ea8459",
      "old_mode": 33188,
      "old_path": "clang/test/CodeGenCXX/cxx1z-aligned-allocation.cpp",
      "new_id": "03f4920c4baebcb78b6b1739c919344489d0adfb",
      "new_mode": 33188,
      "new_path": "clang/test/CodeGenCXX/cxx1z-aligned-allocation.cpp"
    },
    {
      "type": "modify",
      "old_id": "97ed0c57e8f68b68e8acc7232ab11219262e49a9",
      "old_mode": 33188,
      "old_path": "clang/test/CodeGenCXX/cxx2a-destroying-delete.cpp",
      "new_id": "db61ad8ba0f8084ac52b04f0b2c650333325f815",
      "new_mode": 33188,
      "new_path": "clang/test/CodeGenCXX/cxx2a-destroying-delete.cpp"
    },
    {
      "type": "modify",
      "old_id": "a0dcd03bc5a92deff2778f2432d1bfc99f0f5b8b",
      "old_mode": 33188,
      "old_path": "clang/test/CodeGenCXX/delete-two-arg.cpp",
      "new_id": "f3145485ea279b19c4abd6022e1cd15d4aa6347c",
      "new_mode": 33188,
      "new_path": "clang/test/CodeGenCXX/delete-two-arg.cpp"
    },
    {
      "type": "modify",
      "old_id": "21b9f8c2fcc2c954298690c7a6c9a7734bfa67bd",
      "old_mode": 33188,
      "old_path": "clang/test/CodeGenCXX/delete.cpp",
      "new_id": "f6d23557c374bca9be8e0d738da8262173602ef1",
      "new_mode": 33188,
      "new_path": "clang/test/CodeGenCXX/delete.cpp"
    },
    {
      "type": "modify",
      "old_id": "ed1c72c5185d3cd4f573822f0f7497b5834f5930",
      "old_mode": 33188,
      "old_path": "clang/test/CodeGenCXX/dllimport.cpp",
      "new_id": "e63c29b0045f1bb56ec3e39a1a08575004c7fcdd",
      "new_mode": 33188,
      "new_path": "clang/test/CodeGenCXX/dllimport.cpp"
    },
    {
      "type": "modify",
      "old_id": "6c920d7186709565a0afe2098cb57beb7b825955",
      "old_mode": 33188,
      "old_path": "clang/test/CodeGenCXX/exceptions.cpp",
      "new_id": "3f1500468b59535b184e6dff71cb95fef3800590",
      "new_mode": 33188,
      "new_path": "clang/test/CodeGenCXX/exceptions.cpp"
    },
    {
      "type": "modify",
      "old_id": "1a4a291e28c0a2fed927f1dedf2e579d9cc87b10",
      "old_mode": 33188,
      "old_path": "clang/test/CodeGenCXX/microsoft-abi-structors.cpp",
      "new_id": "e0cc9f082fcc809f3da111f9c75fad7beb9230f2",
      "new_mode": 33188,
      "new_path": "clang/test/CodeGenCXX/microsoft-abi-structors.cpp"
    },
    {
      "type": "modify",
      "old_id": "ba1760b49f2c90d4f079b9087e954029bca6e040",
      "old_mode": 33188,
      "old_path": "clang/test/CodeGenCXX/microsoft-vector-deleting-dtors.cpp",
      "new_id": "314486d18bbfc38a6895656484fb14daf3dd7512",
      "new_mode": 33188,
      "new_path": "clang/test/CodeGenCXX/microsoft-vector-deleting-dtors.cpp"
    },
    {
      "type": "modify",
      "old_id": "fc6ce1763c86c32cc6206072cc24948dd2bc69a7",
      "old_mode": 33188,
      "old_path": "clang/test/CodeGenCXX/microsoft-vector-deleting-dtors2.cpp",
      "new_id": "206f00d98dc130f12548cc86a614c3b55e24874e",
      "new_mode": 33188,
      "new_path": "clang/test/CodeGenCXX/microsoft-vector-deleting-dtors2.cpp"
    },
    {
      "type": "modify",
      "old_id": "1c0147e108febf79da10185fc2a54ef5e54d751d",
      "old_mode": 33188,
      "old_path": "clang/test/CodeGenCXX/ms-vdtors-devirtualization.cpp",
      "new_id": "d1900a2df2c94a0413314e31fb85cc515f374fb9",
      "new_mode": 33188,
      "new_path": "clang/test/CodeGenCXX/ms-vdtors-devirtualization.cpp"
    },
    {
      "type": "modify",
      "old_id": "e4a254f6d2ae8ea09f5c390f04fbf47d0f27c511",
      "old_mode": 33188,
      "old_path": "clang/test/CodeGenCXX/msvc-global-delete-forwarding-at-delete-site.cpp",
      "new_id": "087e44c6ca519303e95a9c02122aa7610e69bfd4",
      "new_mode": 33188,
      "new_path": "clang/test/CodeGenCXX/msvc-global-delete-forwarding-at-delete-site.cpp"
    },
    {
      "type": "modify",
      "old_id": "b558b2e6c78d0d8d0667be63ea0f2d5cf048f2cf",
      "old_mode": 33188,
      "old_path": "clang/test/CodeGenCXX/msvc-global-delete-scalar-array-split.cpp",
      "new_id": "f7390423d7fa48336f88294ab7fb53aba50b44f3",
      "new_mode": 33188,
      "new_path": "clang/test/CodeGenCXX/msvc-global-delete-scalar-array-split.cpp"
    },
    {
      "type": "modify",
      "old_id": "09941600defa955d06641c980f354686b7cf210d",
      "old_mode": 33188,
      "old_path": "clang/test/CodeGenCXX/msvc-global-delete-scope-no-dtor.cpp",
      "new_id": "31a6a12b9591bbd443a82d663fa0322b2315b04b",
      "new_mode": 33188,
      "new_path": "clang/test/CodeGenCXX/msvc-global-delete-scope-no-dtor.cpp"
    },
    {
      "type": "modify",
      "old_id": "1703b81c7f7f7673290aa10aec46413fa1368284",
      "old_mode": 33188,
      "old_path": "clang/test/CodeGenCXX/msvc-no-global-delete-forwarding.cpp",
      "new_id": "ba13498a582df5c351493ff7210b2a0bf1a264c3",
      "new_mode": 33188,
      "new_path": "clang/test/CodeGenCXX/msvc-no-global-delete-forwarding.cpp"
    },
    {
      "type": "modify",
      "old_id": "55ca315a8fb4b1a3beb81b5d0de912d6408486ce",
      "old_mode": 33188,
      "old_path": "clang/test/CodeGenCXX/msvc-vector-deleting-dtors-sized-delete.cpp",
      "new_id": "8fad2bb52a62118af992f60713b9b95c097644eb",
      "new_mode": 33188,
      "new_path": "clang/test/CodeGenCXX/msvc-vector-deleting-dtors-sized-delete.cpp"
    },
    {
      "type": "modify",
      "old_id": "08f58f090308c29fc51e0ff54beba8f24e43f146",
      "old_mode": 33188,
      "old_path": "clang/test/CodeGenCXX/new-init-stmt-expr.cpp",
      "new_id": "921ac1d41d4923c123c117f247d653fca27d90c3",
      "new_mode": 33188,
      "new_path": "clang/test/CodeGenCXX/new-init-stmt-expr.cpp"
    },
    {
      "type": "modify",
      "old_id": "af225529c494e625c408fed5255c980dfd384dfa",
      "old_mode": 33188,
      "old_path": "clang/test/CodeGenCXX/new.cpp",
      "new_id": "172ecbf13b373ff9a491db2d16b875204c62dbf3",
      "new_mode": 33188,
      "new_path": "clang/test/CodeGenCXX/new.cpp"
    },
    {
      "type": "modify",
      "old_id": "70bd59716bb5b9ffe396aee84a08b724180f658e",
      "old_mode": 33188,
      "old_path": "clang/test/CodeGenCXX/ptrauth-virtual-function.cpp",
      "new_id": "e646febce3914e85db75871efbb500495415552d",
      "new_mode": 33188,
      "new_path": "clang/test/CodeGenCXX/ptrauth-virtual-function.cpp"
    },
    {
      "type": "modify",
      "old_id": "7b3be7e0b7f98d42199446d878cb71059dd93290",
      "old_mode": 33188,
      "old_path": "clang/test/CodeGenCoroutines/coro-alloc.cpp",
      "new_id": "c83f082425d0c14b00d2e5ba545cbd49df4f5ae9",
      "new_mode": 33188,
      "new_path": "clang/test/CodeGenCoroutines/coro-alloc.cpp"
    },
    {
      "type": "modify",
      "old_id": "4e77ac25af1bf2374f7f17a88222dd8f38abd941",
      "old_mode": 33188,
      "old_path": "clang/test/CodeGenCoroutines/coro-cleanup.cpp",
      "new_id": "4dff36f389c0385aa030261b342ef7ee2f1bfaee",
      "new_mode": 33188,
      "new_path": "clang/test/CodeGenCoroutines/coro-cleanup.cpp"
    },
    {
      "type": "modify",
      "old_id": "c4c93a945701064fafe5da0711f0dbeafba9b712",
      "old_mode": 33188,
      "old_path": "clang/test/CodeGenCoroutines/coro-gro.cpp",
      "new_id": "bccdfbeea084f5ede09db5f19a55896aca76c93f",
      "new_mode": 33188,
      "new_path": "clang/test/CodeGenCoroutines/coro-gro.cpp"
    },
    {
      "type": "modify",
      "old_id": "8a26cd93d565c65e94a1e5333338ba681bcf4bac",
      "old_mode": 33188,
      "old_path": "clang/test/Headers/openmp_new_nothrow.cpp",
      "new_id": "bb1a83195695541cd810952df533a84e0c93a1b7",
      "new_mode": 33188,
      "new_path": "clang/test/Headers/openmp_new_nothrow.cpp"
    },
    {
      "type": "modify",
      "old_id": "d6ccaf866db889c3eff034176ebe080dae45b343",
      "old_mode": 33188,
      "old_path": "clang/test/Modules/msvc-vector-deleting-destructors.cpp",
      "new_id": "63b6fa5ea3b9b23338353d62fdc35716fc991909",
      "new_mode": 33188,
      "new_path": "clang/test/Modules/msvc-vector-deleting-destructors.cpp"
    },
    {
      "type": "modify",
      "old_id": "67361fbe230ac46fe63cb3644d541836e91e5f0f",
      "old_mode": 33188,
      "old_path": "clang/test/OpenMP/structured-bindings-codegen.cpp",
      "new_id": "1341e8e5b41f920dc8149d87295ff9bf48b227f0",
      "new_mode": 33188,
      "new_path": "clang/test/OpenMP/structured-bindings-codegen.cpp"
    },
    {
      "type": "modify",
      "old_id": "845fe4b246892cc5f3cbd3f8e839dd17dbdad4ef",
      "old_mode": 33188,
      "old_path": "clang/test/PCH/msvc-vector-deleting-destructors.cpp",
      "new_id": "4d60974f887c60a52bb74dec4ebcedd32c535a0f",
      "new_mode": 33188,
      "new_path": "clang/test/PCH/msvc-vector-deleting-destructors.cpp"
    }
  ]
}
