)]}'
{
  "commit": "26cd48603dcc4304adeb0283de459d7ffa5b8788",
  "tree": "8e54335db53ee43ca4f348c17e81a91e114b470b",
  "parents": [
    "7687ec1fa320d89b37a8c1143b2a22ac325f2da6"
  ],
  "author": {
    "name": "Ben Clayton",
    "email": "bclayton@google.com",
    "time": "Fri Apr 16 15:05:44 2021 +0000"
  },
  "committer": {
    "name": "Commit Bot service account",
    "email": "commit-bot@chromium.org",
    "time": "Fri Apr 16 15:05:44 2021 +0000"
  },
  "message": "Castable: Add FLAGS template argument for Is,As\n\n[Is,As] contain a static_assert() that checks a cast is actually possible (TO -\u003e FROM share a common base class).\nThis has been extremely valuable - it\u0027s caught numerious impossible casts due to stupid mistakes - however it makes certain generic templates impossible to write.\n\nAdd a compile-time FLAGS argument to Is() and As(), which accepts a new kDontErrorOnImpossibleCast flag.\nWhen specified, this static_assert will always pass, allowing impossible casts to be attempted.\n\nChange-Id: I5ff434b329c04d007f4e6976301bf30c73ab3f8d\nReviewed-on: https://dawn-review.googlesource.com/c/tint/+/47775\nReviewed-by: Antonio Maiorano \u003camaiorano@google.com\u003e\nCommit-Queue: Ben Clayton \u003cbclayton@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "460e5096297e689c37ba5b4eb2f647fdf08eaa0e",
      "old_mode": 33188,
      "old_path": "src/castable.h",
      "new_id": "884ba5f619d33454fc57f1ad88660dd0cc60c6db",
      "new_mode": 33188,
      "new_path": "src/castable.h"
    },
    {
      "type": "modify",
      "old_id": "a62bc3db3ef62326c809409ebcadbd1af0aeaae8",
      "old_mode": 33188,
      "old_path": "src/castable_test.cc",
      "new_id": "0d10aacbdea418ad367daa0c4dddff3555728804",
      "new_mode": 33188,
      "new_path": "src/castable_test.cc"
    }
  ]
}
