)]}'
{
  "commit": "58af66ba6f2cf7b4f0a417a7e96f1d2712087de4",
  "tree": "3cab15308c4004e865b8830861d94eca0e84c465",
  "parents": [
    "222ae505623476f08fd5db3544d7a9e6a0b50472"
  ],
  "author": {
    "name": "David \u0027Digit\u0027 Turner",
    "email": "digit@google.com",
    "time": "Tue Apr 21 16:37:11 2020 +0200"
  },
  "committer": {
    "name": "Commit Bot",
    "email": "commit-bot@chromium.org",
    "time": "Tue Apr 21 17:58:41 2020 +0000"
  },
  "message": "Remove minor compiler warning\n\nReplace \u0027const auto\u0027 with \u0027const auto\u0026\u0027 to remove a compiler\nwarning when compiling src/gn/rust_project_writer.cc with a recent\nClang toolchain (e.g. the prebuilt CIPD package from the Fuchsia\nproject), which looks like:\n\n../src/gn/rust_project_writer.cc:305:19: warning: loop variable \u0027cfg\u0027\ncreates a copy from type \u0027const\nstd::__2::tuple\u003cstd::__2::basic_string\u003cchar,\nstd::__2::char_traits\u003cchar\u003e, std::__2::allocator\u003cchar\u003e \u003e,\nstd::__2::basic_string\u003cchar, std::__2::char_traits\u003cchar\u003e,\nstd::__2::allocator\u003cchar\u003e \u003e \u003e\u0027 [-Wrange-loop-construct]\n  for (const auto cfg : kvs) {\n                    ^\n\n../src/gn/rust_project_writer.cc:305:8: note: use\n\t\t    reference type \u0027const\n\t\t    std::__2::tuple\u003cstd::__2::basic_string\u003cchar,\n\t\t    std::__2::char_traits\u003cchar\u003e,\n\t\t    std::__2::allocator\u003cchar\u003e \u003e,\n\t\t    std::__2::basic_string\u003cchar,\n\t\t    std::__2::char_traits\u003cchar\u003e,\n\t\t    std::__2::allocator\u003cchar\u003e \u003e \u003e \u0026\u0027 to prevent copying\n\t\t      for (const auto cfg : kvs) {\n\t\t             ^~~~~~~~~~~~~~~~\n\t\t\t                       \u0026\n\nChange-Id: Ia325fec7bd2303e8a762bfd7bf38397f3b1eb522\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/8120\nReviewed-by: Benjamin Brittain \u003cbwb@google.com\u003e\nReviewed-by: Petr Hosek \u003cphosek@google.com\u003e\nCommit-Queue: Petr Hosek \u003cphosek@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a3a1dd4ae436d1535ed0857e9d7d460a406f99ec",
      "old_mode": 33188,
      "old_path": "src/gn/rust_project_writer.cc",
      "new_id": "754f9b6a7c073c0e352562cf53bd9015695c261c",
      "new_mode": 33188,
      "new_path": "src/gn/rust_project_writer.cc"
    }
  ]
}
