)]}'
{
  "commit": "c5c1c21aa39566fe571b0a9077651cd133277db5",
  "tree": "8e32258d7b407bb65246e65edf9d259d8fbe9255",
  "parents": [
    "151cf166585e51c8aa7e17ed032d10ea39ec9145"
  ],
  "author": {
    "name": "Laramie Leavitt",
    "email": "lar@google.com",
    "time": "Wed Oct 21 21:14:20 2026 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Thu Oct 22 10:47:49 2026 -0700"
  },
  "message": "Tighten absl::BitGenRef binding rules and simplify its implementation.\n\n* Reject binding to const generators. Generating a variate mutates the\n  generator, but BitGenRef previously accepted `const URBG\u0026` and later\n  invoked the non-const `operator()` through a cast, which is undefined\n  behavior for generators defined const. Such constructions now resolve to\n  a deleted constructor.\n* Detect `operator BitGenRef()` on an lvalue rather than an rvalue. This\n  lets types ref-qualify the operator (`operator BitGenRef() \u0026`) to\n  prevent binding a BitGenRef to a temporary; previously such types were\n  silently wrapped as a URBG instead, adding a layer of indirection.\n* Merge the mocking and non-mocking constructors; the mock dispatch\n  function is now selected with `if constexpr`.\n* Store the generator as `void*` instead of `uintptr_t`, replacing\n  reinterpret_casts with static_casts, and use a null mock function\n  pointer instead of a `NotAMock` sentinel.\n\nPiperOrigin-RevId: 1004460719\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "df8675b123435b43a7549827bbd06fa371f6ca0f",
      "old_mode": 33188,
      "old_path": "absl/random/bit_gen_ref.h",
      "new_id": "9f7cdcc3244418e8d168409833a860b4a3f1779b",
      "new_mode": 33188,
      "new_path": "absl/random/bit_gen_ref.h"
    },
    {
      "type": "modify",
      "old_id": "ae5c1db80a8d91e0229db0e1028abbf598654c4d",
      "old_mode": 33188,
      "old_path": "absl/random/bit_gen_ref_test.cc",
      "new_id": "9c2ca0ebe4407e69f09742b5ec9c5d81d94a7f0a",
      "new_mode": 33188,
      "new_path": "absl/random/bit_gen_ref_test.cc"
    }
  ]
}
