)]}'
{
  "commit": "de679ebabebe2e448dd4e9f288cad29cfe7b1a4b",
  "tree": "77f2242ad8522720889e1160ece6b0afd71710c5",
  "parents": [
    "60af296127272ea80c46d37fcbeb031e6dd7d563"
  ],
  "author": {
    "name": "David \u0027Digit\u0027 Turner",
    "email": "digit@google.com",
    "time": "Sun Nov 21 02:06:20 2021 +0100"
  },
  "committer": {
    "name": "Commit Bot",
    "email": "commit-bot@chromium.org",
    "time": "Wed Nov 24 19:00:04 2021 +0000"
  },
  "message": "Remove Location::byte_ member and byte() method.\n\nTh Location class has a byte_ member representing a token\u0027s byte offset\nin the input file. However, it is only used to perform less-than\ncomparisons, which is inconsistent with the Location::operator\u003c()\nmethod which uses (line, column) pairs instead. Also its value cannot\nbe properly determined when Location() instances are created outside of\nthe tokenizer (e.g. in the header checker).\n\nThis CL simplifies the class by removing the member entirely, and\nadding a proper Location::operator\u003c\u003d() instead.\n\nThis is mostly cosmetic: measurements do not show any noticeable change\nin performance or memory usage.\n\nChange-Id: I220b34fd8bcaabc7750d3792c8dcea4284cd8a57\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/12540\nReviewed-by: Brett Wilson \u003cbrettw@chromium.org\u003e\nCommit-Queue: David Turner \u003cdigit@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "faf475d921aad606cbc30d1b356567167a24399b",
      "old_mode": 33188,
      "old_path": "src/gn/c_include_iterator.cc",
      "new_id": "e4cd7d451a467b0ae76e186d8fb487bca0bf4512",
      "new_mode": 33188,
      "new_path": "src/gn/c_include_iterator.cc"
    },
    {
      "type": "modify",
      "old_id": "32f4d90c4564ff21293af962489ba01202cd90b5",
      "old_mode": 33188,
      "old_path": "src/gn/header_checker.cc",
      "new_id": "8d2d313fd80825e1498e9f013e568bf866907978",
      "new_mode": 33188,
      "new_path": "src/gn/header_checker.cc"
    },
    {
      "type": "modify",
      "old_id": "95bdd1330898b38913d0cbbcd10f25d5932bfd0e",
      "old_mode": 33188,
      "old_path": "src/gn/location.cc",
      "new_id": "cba44c8981610ecc60eb18c1e1ba43e47308525f",
      "new_mode": 33188,
      "new_path": "src/gn/location.cc"
    },
    {
      "type": "modify",
      "old_id": "471391b374a920fa9a2627e2f425bbb2281a71d7",
      "old_mode": 33188,
      "old_path": "src/gn/location.h",
      "new_id": "79af5ddb72487361d66d04f821fe31822119b7a5",
      "new_mode": 33188,
      "new_path": "src/gn/location.h"
    },
    {
      "type": "modify",
      "old_id": "83452d0f18c662f0472fd427fa5188f5c3d30ebb",
      "old_mode": 33188,
      "old_path": "src/gn/parse_tree.cc",
      "new_id": "e9ca8fa6671af3fc8dd9eec9b355d351a09b8fad",
      "new_mode": 33188,
      "new_path": "src/gn/parse_tree.cc"
    },
    {
      "type": "modify",
      "old_id": "ed28b54bcc1d5cf17c1e0d6d7110ca6f201faea2",
      "old_mode": 33188,
      "old_path": "src/gn/parse_tree_unittest.cc",
      "new_id": "cc49848e402bfa313a0458b2e8c5edf65456036d",
      "new_mode": 33188,
      "new_path": "src/gn/parse_tree_unittest.cc"
    },
    {
      "type": "modify",
      "old_id": "07e9ba326c6c32c4ef394af92c2e979f02c107da",
      "old_mode": 33188,
      "old_path": "src/gn/parser.cc",
      "new_id": "dbc3d620ca3d16dadabf03964a3c0f5b93d7e92e",
      "new_mode": 33188,
      "new_path": "src/gn/parser.cc"
    },
    {
      "type": "modify",
      "old_id": "af39a9d0fd0adda56bae75b374917e5ec17ed4c8",
      "old_mode": 33188,
      "old_path": "src/gn/scope_unittest.cc",
      "new_id": "9f82685505b881e5cd86cfe6fc6488f5efed4b3f",
      "new_mode": 33188,
      "new_path": "src/gn/scope_unittest.cc"
    },
    {
      "type": "modify",
      "old_id": "bff9e8f47f0305253b7c448f2645e1ba46752679",
      "old_mode": 33188,
      "old_path": "src/gn/string_utils.cc",
      "new_id": "bf8f8ba18057869d31acc4efe5b118a1995ecfe0",
      "new_mode": 33188,
      "new_path": "src/gn/string_utils.cc"
    },
    {
      "type": "modify",
      "old_id": "6a908723343d8e2a7c978cfbfd8e8457eabf868a",
      "old_mode": 33188,
      "old_path": "src/gn/token.h",
      "new_id": "9a2cfca417d61d041653cba65c8ae7fefa70ed92",
      "new_mode": 33188,
      "new_path": "src/gn/token.h"
    },
    {
      "type": "modify",
      "old_id": "a2f0034228031294cece3de3b15bc06f0a0dab3f",
      "old_mode": 33188,
      "old_path": "src/gn/tokenizer.cc",
      "new_id": "b68be3c8e4da6303713fc2c6eb9a06e965368fd7",
      "new_mode": 33188,
      "new_path": "src/gn/tokenizer.cc"
    },
    {
      "type": "modify",
      "old_id": "d740d866986fd3fbfbf5265a4e62df840dfa4eb2",
      "old_mode": 33188,
      "old_path": "src/gn/tokenizer_unittest.cc",
      "new_id": "e3e054281b5cd7cbd9085580430b13001b75d7e7",
      "new_mode": 33188,
      "new_path": "src/gn/tokenizer_unittest.cc"
    }
  ]
}
