)]}'
{
  "commit": "165ff1c97837ff6ab9546c6c80ea50bade1a77fc",
  "tree": "5a0dcf1192e530e9b22a44ef62425a9f97e9870b",
  "parents": [
    "90f32536458a8c929584ab53c93b8b8923892923"
  ],
  "author": {
    "name": "Ben Clayton",
    "email": "bclayton@google.com",
    "time": "Tue Nov 17 15:23:48 2020 +0000"
  },
  "committer": {
    "name": "Commit Bot service account",
    "email": "commit-bot@chromium.org",
    "time": "Tue Nov 17 15:23:48 2020 +0000"
  },
  "message": "ast::Builder: Make the interface more fluent\n\nAdd C++ aliases for the wgsl types `i32`, `u32` and `f32`.\n\nSeparate types out from the builder and into a `Builder::Types` class. An instance of this is now held by the `Builder::ty` field. Makes it clear when you are referencing a `ast::type` instead of a constructor method.\n\nRework a number of builder methods so they take the type as a template argument instead of a parameter. This more closely resembles wgsl (example: `vec2\u003ci32\u003e(1,2)`)\n\nUse PascalCase for the constructor methods, but keep the wgsl-like constructors lowercase to imitate the language style.\n\nAdd `BuilderWithContext` so that `Builder` can be truely immutable, and so we can remove `set_context()`.\n\nChange-Id: Idf2d7d5abe7d11e27671b8e80d3d56d6bc4b3ca2\nReviewed-on: https://dawn-review.googlesource.com/c/tint/+/32980\nReviewed-by: dan sinclair \u003cdsinclair@chromium.org\u003e\nCommit-Queue: Ben Clayton \u003cbclayton@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c30672aaf35cd014f3aa099a9dd8cb172b628c8d",
      "old_mode": 33188,
      "old_path": "src/ast/builder.cc",
      "new_id": "de6b3ae15e82dda0f7b4479d0ea985590e771b1c",
      "new_mode": 33188,
      "new_path": "src/ast/builder.cc"
    },
    {
      "type": "modify",
      "old_id": "389d6c64c1dc0e0beaa6415acf472a96313e298f",
      "old_mode": 33188,
      "old_path": "src/ast/builder.h",
      "new_id": "39ae9d2cdc232c8680a387316b57c04f0457ccd2",
      "new_mode": 33188,
      "new_path": "src/ast/builder.h"
    },
    {
      "type": "modify",
      "old_id": "2c82d76d401998677aed5dbacef2ad8e17abf744",
      "old_mode": 33188,
      "old_path": "src/type_manager.h",
      "new_id": "f7f56011267351a953870398ac02104f7fcd5800",
      "new_mode": 33188,
      "new_path": "src/type_manager.h"
    },
    {
      "type": "modify",
      "old_id": "695bd85a45482f5f32bc0b7c88c70af704ee50b3",
      "old_mode": 33188,
      "old_path": "src/writer/spirv/builder_intrinsic_test.cc",
      "new_id": "631e604943571fffcc9e41446871dbd38f7e33ff",
      "new_mode": 33188,
      "new_path": "src/writer/spirv/builder_intrinsic_test.cc"
    }
  ]
}
