)]}'
{
  "commit": "5bee67fced90b606fa740582cbbfa5fc991d67d7",
  "tree": "c8bf16387b06eafa2a0de8bf0869932e107bb5cc",
  "parents": [
    "17e0deaebaa62214662f52797a5edec01c853d92"
  ],
  "author": {
    "name": "Ben Clayton",
    "email": "bclayton@google.com",
    "time": "Fri Oct 30 20:44:53 2020 +0000"
  },
  "committer": {
    "name": "Commit Bot service account",
    "email": "commit-bot@chromium.org",
    "time": "Fri Oct 30 20:44:53 2020 +0000"
  },
  "message": "Add File \u0026 Range information to tint::Source\n\nThis is the first step in improving the error messages produced while parsing.\n\nThe `line` and `column` information of `Source` has been moved to `Source::Location`.\n\n`Source::Range` has been added that contains a `Location` interval - allowing error messages to highlight the full region of the error.\n\nThe `File` information provides an optional file path, and pre-splits the content into lines. These lines can be used to print the full line containing an error.\n\nThis CL contains a few temporary changes that help split up this work, and to ease integration with Tint.\n\nBug: tint:282\nChange-Id: I7aa501b0a9631f286e8e93fd7396bdbe38175727\nReviewed-on: https://dawn-review.googlesource.com/c/tint/+/31420\nReviewed-by: dan sinclair \u003cdsinclair@chromium.org\u003e\nReviewed-by: David Neto \u003cdneto@google.com\u003e\nCommit-Queue: David Neto \u003cdneto@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "200a9575feb660d65de40ad93282a0a8110b3716",
      "old_mode": 33188,
      "old_path": "BUILD.gn",
      "new_id": "51aade8eca9fd8561a26a69d184c37c450a49ce2",
      "new_mode": 33188,
      "new_path": "BUILD.gn"
    },
    {
      "type": "modify",
      "old_id": "ad24002eee3538606be6755842caa1bd552e22d5",
      "old_mode": 33188,
      "old_path": "fuzzers/tint_wgsl_reader_fuzzer.cc",
      "new_id": "d9c0d4e0b817087f06022b4d48fd5822c57ada5c",
      "new_mode": 33188,
      "new_path": "fuzzers/tint_wgsl_reader_fuzzer.cc"
    },
    {
      "type": "modify",
      "old_id": "886171fff2637ff335403e4a5aa48e40e955cb11",
      "old_mode": 33188,
      "old_path": "samples/main.cc",
      "new_id": "7955c18a6052679459ef11a980312a99272c8f2d",
      "new_mode": 33188,
      "new_path": "samples/main.cc"
    },
    {
      "type": "modify",
      "old_id": "5bde30c79f89bba35351f6bfb58a396ba7734150",
      "old_mode": 33188,
      "old_path": "src/CMakeLists.txt",
      "new_id": "c90d0cacb9d58770250cb09c002055487ffe8fbe",
      "new_mode": 33188,
      "new_path": "src/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "a08a8370a97e3b07167c6e648eec5a08d914a31f",
      "old_mode": 33188,
      "old_path": "src/ast/array_accessor_expression_test.cc",
      "new_id": "1470bc07d0128098b5afaf716e2763b9083b2d36",
      "new_mode": 33188,
      "new_path": "src/ast/array_accessor_expression_test.cc"
    },
    {
      "type": "modify",
      "old_id": "85a29d65f6863f0e1ac5c45a2bb3e2809ea5972f",
      "old_mode": 33188,
      "old_path": "src/ast/assignment_statement_test.cc",
      "new_id": "b1570207600d60a7235f9560d851b2004ff6d4d4",
      "new_mode": 33188,
      "new_path": "src/ast/assignment_statement_test.cc"
    },
    {
      "type": "modify",
      "old_id": "b7c50b1ab295547477290589c6c634049de3f524",
      "old_mode": 33188,
      "old_path": "src/ast/binary_expression_test.cc",
      "new_id": "9a7510d27a999da1b7096c10ce3a52633d017e7b",
      "new_mode": 33188,
      "new_path": "src/ast/binary_expression_test.cc"
    },
    {
      "type": "modify",
      "old_id": "accd1ff0bd6dacd521fba6c05388a30e10cec505",
      "old_mode": 33188,
      "old_path": "src/ast/bitcast_expression_test.cc",
      "new_id": "7ef635ae9ffa8371291c935fcdfd865e613d7bcc",
      "new_mode": 33188,
      "new_path": "src/ast/bitcast_expression_test.cc"
    },
    {
      "type": "modify",
      "old_id": "2d040d305153ce1578d22ba1d0b56c6903a3c91b",
      "old_mode": 33188,
      "old_path": "src/ast/block_statement_test.cc",
      "new_id": "ac3f65bd3fd32c491bcdad99ba5abdbe9731e5ba",
      "new_mode": 33188,
      "new_path": "src/ast/block_statement_test.cc"
    },
    {
      "type": "modify",
      "old_id": "4e39386a86873298b0c0ce9f99a697c38632f326",
      "old_mode": 33188,
      "old_path": "src/ast/break_statement_test.cc",
      "new_id": "485030d471bae6130d613641b694ee19c92f853a",
      "new_mode": 33188,
      "new_path": "src/ast/break_statement_test.cc"
    },
    {
      "type": "modify",
      "old_id": "a89441fbcff11e7a6f8bab5882643225f655fe97",
      "old_mode": 33188,
      "old_path": "src/ast/call_expression_test.cc",
      "new_id": "120100f10a6032d0fa0206d40e2d860f886559da",
      "new_mode": 33188,
      "new_path": "src/ast/call_expression_test.cc"
    },
    {
      "type": "modify",
      "old_id": "b834c594d8213f2b375a3da6a8eafeb5b86c8d24",
      "old_mode": 33188,
      "old_path": "src/ast/case_statement_test.cc",
      "new_id": "82f6868e8c115ebbef6ce172c7a11d6b199fccfe",
      "new_mode": 33188,
      "new_path": "src/ast/case_statement_test.cc"
    },
    {
      "type": "modify",
      "old_id": "4ba18e98489f214c0d19fdd7d611085a18031570",
      "old_mode": 33188,
      "old_path": "src/ast/continue_statement_test.cc",
      "new_id": "fa5ac43f44dc0bd9457c1a41d9ba98d055c71b0a",
      "new_mode": 33188,
      "new_path": "src/ast/continue_statement_test.cc"
    },
    {
      "type": "modify",
      "old_id": "d791ad0a0f3fa65968c0e6eccf1acdc72a14af28",
      "old_mode": 33188,
      "old_path": "src/ast/else_statement_test.cc",
      "new_id": "a230c2a3f66be2328b89b60b2b053fcfbdd555c2",
      "new_mode": 33188,
      "new_path": "src/ast/else_statement_test.cc"
    },
    {
      "type": "modify",
      "old_id": "c7dbe58525bee58d6152512e10a0260b00f06249",
      "old_mode": 33188,
      "old_path": "src/ast/fallthrough_statement_test.cc",
      "new_id": "adbb558d4c59c09137fb07f7d11e466d1d38eebc",
      "new_mode": 33188,
      "new_path": "src/ast/fallthrough_statement_test.cc"
    },
    {
      "type": "modify",
      "old_id": "20d37edb94a798aa34e4e005bbbd5ff4d6e8aa50",
      "old_mode": 33188,
      "old_path": "src/ast/function_test.cc",
      "new_id": "0dbfbeffac6e224a50199c06e4815331754905cb",
      "new_mode": 33188,
      "new_path": "src/ast/function_test.cc"
    },
    {
      "type": "modify",
      "old_id": "ad0ff98a9073ff0a66d8003efba1d714f9ad6e57",
      "old_mode": 33188,
      "old_path": "src/ast/identifier_expression_test.cc",
      "new_id": "fbb5dd7860bcae990c216795491b8c4b5c8eb799",
      "new_mode": 33188,
      "new_path": "src/ast/identifier_expression_test.cc"
    },
    {
      "type": "modify",
      "old_id": "bd1e9c95755a62394ce15b9ec1bccb87b59f6e1f",
      "old_mode": 33188,
      "old_path": "src/ast/if_statement_test.cc",
      "new_id": "779e889bfb21ae62fc614faf6a1551843c797dd6",
      "new_mode": 33188,
      "new_path": "src/ast/if_statement_test.cc"
    },
    {
      "type": "modify",
      "old_id": "bf61292bf8b527d21f7a2aee754a7e18ddd0697c",
      "old_mode": 33188,
      "old_path": "src/ast/loop_statement_test.cc",
      "new_id": "cf1dc500de771805d8ebf05699ceeea322bfd2a4",
      "new_mode": 33188,
      "new_path": "src/ast/loop_statement_test.cc"
    },
    {
      "type": "modify",
      "old_id": "888884e96e83e44e37e672aeeff58786a28ad052",
      "old_mode": 33188,
      "old_path": "src/ast/member_accessor_expression_test.cc",
      "new_id": "66ac1f79820e1edbc06ac8ed1f912e97b87d2302",
      "new_mode": 33188,
      "new_path": "src/ast/member_accessor_expression_test.cc"
    },
    {
      "type": "modify",
      "old_id": "f02d85edcd9d7f8a747a38a30eebcca18f04971d",
      "old_mode": 33188,
      "old_path": "src/ast/node.h",
      "new_id": "4eb57e4e1bf9375400662ac2573bf98fd0caa7a0",
      "new_mode": 33188,
      "new_path": "src/ast/node.h"
    },
    {
      "type": "modify",
      "old_id": "2477015d9983d49e3d411a2bb3f4ecf25d176eaa",
      "old_mode": 33188,
      "old_path": "src/ast/return_statement_test.cc",
      "new_id": "76d9e2afdd4ff6645d4b750557892d8ca1c1e639",
      "new_mode": 33188,
      "new_path": "src/ast/return_statement_test.cc"
    },
    {
      "type": "modify",
      "old_id": "ea3dddc43a38af36122795b62bcf66661e590ee3",
      "old_mode": 33188,
      "old_path": "src/ast/scalar_constructor_expression_test.cc",
      "new_id": "28f7012647b8c8d0f1d9524e5cbf90032b5e0805",
      "new_mode": 33188,
      "new_path": "src/ast/scalar_constructor_expression_test.cc"
    },
    {
      "type": "modify",
      "old_id": "dd3eeace2a147caaa8ab97068eacc4f01d4bbc7b",
      "old_mode": 33188,
      "old_path": "src/ast/switch_statement_test.cc",
      "new_id": "dc5b5b0350af03a7b646d5a32360216c8ad467b9",
      "new_mode": 33188,
      "new_path": "src/ast/switch_statement_test.cc"
    },
    {
      "type": "modify",
      "old_id": "c223fb5e07543a4fb7a0141b2dff282f788c83d0",
      "old_mode": 33188,
      "old_path": "src/ast/type_constructor_expression_test.cc",
      "new_id": "dfceda0e21a4ffcb27ab63299df3795ddb4f1f67",
      "new_mode": 33188,
      "new_path": "src/ast/type_constructor_expression_test.cc"
    },
    {
      "type": "modify",
      "old_id": "1d5e31942780665cd50773c21dd5f9c6487aa8da",
      "old_mode": 33188,
      "old_path": "src/ast/unary_op_expression_test.cc",
      "new_id": "5b32af3887925b7d417f62837a21daca725e591f",
      "new_mode": 33188,
      "new_path": "src/ast/unary_op_expression_test.cc"
    },
    {
      "type": "modify",
      "old_id": "d96b07b9745b4fc765af8b475583a070f3ba489e",
      "old_mode": 33188,
      "old_path": "src/ast/variable_decl_statement_test.cc",
      "new_id": "61fcb0726044d4a2f9276d1b1ce3a482ef4a1421",
      "new_mode": 33188,
      "new_path": "src/ast/variable_decl_statement_test.cc"
    },
    {
      "type": "modify",
      "old_id": "9c62f9b58b0e94e8847dd66ad9d2664120fc4919",
      "old_mode": 33188,
      "old_path": "src/reader/spirv/function.cc",
      "new_id": "a44b3bcecbede4117d9f3bfc370ee5abbb283127",
      "new_mode": 33188,
      "new_path": "src/reader/spirv/function.cc"
    },
    {
      "type": "modify",
      "old_id": "d57ee6c2edd48974d71f38fefb6f2328686b9130",
      "old_mode": 33188,
      "old_path": "src/reader/spirv/parser_impl.cc",
      "new_id": "af3d07d5e4aab6c9fd23fb4b7142b5487e1f0f46",
      "new_mode": 33188,
      "new_path": "src/reader/spirv/parser_impl.cc"
    },
    {
      "type": "modify",
      "old_id": "7becccd10c9f28dfb86a606ac6a1711d3b60270c",
      "old_mode": 33188,
      "old_path": "src/reader/spirv/parser_impl.h",
      "new_id": "dfffc8d4449799379908c7e9a3cf0435ea385b31",
      "new_mode": 33188,
      "new_path": "src/reader/spirv/parser_impl.h"
    },
    {
      "type": "modify",
      "old_id": "4d4138f6fc950f615a4b9023f19e7d6333c02cf8",
      "old_mode": 33188,
      "old_path": "src/reader/spirv/parser_impl_test.cc",
      "new_id": "cee5eb27df8867a13be16506982c2e97f690abe8",
      "new_mode": 33188,
      "new_path": "src/reader/spirv/parser_impl_test.cc"
    },
    {
      "type": "modify",
      "old_id": "42019fa2a3323f12d6d534072770b101788ea2d2",
      "old_mode": 33188,
      "old_path": "src/reader/wgsl/lexer.cc",
      "new_id": "2fa4eb852a80397e910cad336a8f55b6b411b974",
      "new_mode": 33188,
      "new_path": "src/reader/wgsl/lexer.cc"
    },
    {
      "type": "modify",
      "old_id": "0a38b507e9f9d139399198dae60fe9c9ddb5011d",
      "old_mode": 33188,
      "old_path": "src/reader/wgsl/lexer.h",
      "new_id": "1bfaf0ac3f8206f5e29339cd4954328211ab0ae3",
      "new_mode": 33188,
      "new_path": "src/reader/wgsl/lexer.h"
    },
    {
      "type": "modify",
      "old_id": "81e27e4e7b16895d5e51656abdb1822c13cb0181",
      "old_mode": 33188,
      "old_path": "src/reader/wgsl/lexer_test.cc",
      "new_id": "bccd13f7f378be55176bec6590a489ff7b49f18e",
      "new_mode": 33188,
      "new_path": "src/reader/wgsl/lexer_test.cc"
    },
    {
      "type": "modify",
      "old_id": "2b2adc7156874ac9a0f6aef4568f361f3d7b2dc5",
      "old_mode": 33188,
      "old_path": "src/reader/wgsl/parser.cc",
      "new_id": "e24066a4b0002e019f76d3e772d9c0f1f4a667e6",
      "new_mode": 33188,
      "new_path": "src/reader/wgsl/parser.cc"
    },
    {
      "type": "modify",
      "old_id": "6fe339064774f3625b5457ac122184606e1595f1",
      "old_mode": 33188,
      "old_path": "src/reader/wgsl/parser.h",
      "new_id": "ff835b816020876a3627d5e60c8314a45682e7a4",
      "new_mode": 33188,
      "new_path": "src/reader/wgsl/parser.h"
    },
    {
      "type": "modify",
      "old_id": "df0ddfdc1098762443bea44ddf5b5a4f6a118412",
      "old_mode": 33188,
      "old_path": "src/reader/wgsl/parser_impl.cc",
      "new_id": "e8100f746b9e9a390e16ef6c054e523ab0293178",
      "new_mode": 33188,
      "new_path": "src/reader/wgsl/parser_impl.cc"
    },
    {
      "type": "modify",
      "old_id": "24c4a0cfc3cbb81b660253516c1342b56393675b",
      "old_mode": 33188,
      "old_path": "src/reader/wgsl/parser_impl.h",
      "new_id": "4fb36444bade85f29013c412df60a06d34ac4efd",
      "new_mode": 33188,
      "new_path": "src/reader/wgsl/parser_impl.h"
    },
    {
      "type": "modify",
      "old_id": "d3746cf3bf8db83ad986dcf81030814ca15ccd71",
      "old_mode": 33188,
      "old_path": "src/reader/wgsl/parser_impl_test_helper.cc",
      "new_id": "462182354ccff81387896509ba61fb4aab8d678c",
      "new_mode": 33188,
      "new_path": "src/reader/wgsl/parser_impl_test_helper.cc"
    },
    {
      "type": "modify",
      "old_id": "0961b1569184b48928790e7855c2f9f2439276b7",
      "old_mode": 33188,
      "old_path": "src/reader/wgsl/parser_impl_test_helper.h",
      "new_id": "cbefc11641fd2ac3c13ffe19fae7f2d5a9a5e335",
      "new_mode": 33188,
      "new_path": "src/reader/wgsl/parser_impl_test_helper.h"
    },
    {
      "type": "modify",
      "old_id": "05519c757fd308700325c35d693029ddcd35e8f7",
      "old_mode": 33188,
      "old_path": "src/reader/wgsl/parser_impl_variable_decl_test.cc",
      "new_id": "2598376de1afdb300a5583f1a3416103521c141e",
      "new_mode": 33188,
      "new_path": "src/reader/wgsl/parser_impl_variable_decl_test.cc"
    },
    {
      "type": "modify",
      "old_id": "363da93c576656272235e1e8c581411724a2ac79",
      "old_mode": 33188,
      "old_path": "src/reader/wgsl/parser_test.cc",
      "new_id": "01990fd7225a7862b759df22a317237c1dce18a4",
      "new_mode": 33188,
      "new_path": "src/reader/wgsl/parser_test.cc"
    },
    {
      "type": "modify",
      "old_id": "184d1d94af4ae1ec77ea52465415533048940c45",
      "old_mode": 33188,
      "old_path": "src/reader/wgsl/token.h",
      "new_id": "9d920613b4a7c38f8b1d75a635a1384e68d82a12",
      "new_mode": 33188,
      "new_path": "src/reader/wgsl/token.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "d14845315cc66525747a01b4b7f6cd5da38e2398",
      "new_mode": 33188,
      "new_path": "src/source.cc"
    },
    {
      "type": "modify",
      "old_id": "030535051269dc2c43d56cc770bb2bb703f51d8a",
      "old_mode": 33188,
      "old_path": "src/source.h",
      "new_id": "20242c9ef45b89390e0d978e3e07083113b5a8ed",
      "new_mode": 33188,
      "new_path": "src/source.h"
    },
    {
      "type": "modify",
      "old_id": "2686d8813ce97efa2cea84823477bee6adca0345",
      "old_mode": 33188,
      "old_path": "src/type_determiner.cc",
      "new_id": "0e5656daafa50f9c00a017f2e857b51c97c003d5",
      "new_mode": 33188,
      "new_path": "src/type_determiner.cc"
    },
    {
      "type": "modify",
      "old_id": "585bb18d612aa15c845d2032161f43dbf4d90059",
      "old_mode": 33188,
      "old_path": "src/validator_impl.cc",
      "new_id": "78e09f13edb717d10c001d1032ed5de93a37a401",
      "new_mode": 33188,
      "new_path": "src/validator_impl.cc"
    }
  ]
}
