)]}'
{
  "commit": "055af5b4a05176803daf4391d673eb966174fe62",
  "tree": "e9daf5e4d4923e2524757c4d35525eb9d1a462ca",
  "parents": [
    "d2e17817f13512450d2a7953a165f0fe470d2bed"
  ],
  "author": {
    "name": "Antonio Maiorano",
    "email": "amaiorano@google.com",
    "time": "Fri Mar 08 12:32:50 2024 +0000"
  },
  "committer": {
    "name": "Dawn LUCI CQ",
    "email": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Fri Mar 08 12:32:50 2024 +0000"
  },
  "message": "tint: fix compile error on macos wrt operator\u003c\u003c\n\nBuilding tint_unittests on macos with AppleClang failed with, for example:\n\nerror: invalid operands to binary expression (\u0027std::__1::basic_ostream\u003cchar\u003e\u0027 and \u0027const tint::core::ir::Usage\u0027)\n        return out \u003c\u003c key.Value();\n\nThis was caused by hashmap_base.h\u0027s operator\u003c\u003c erroneously detecting that the\nstream object \u003c\u003c rhs was available when using\ntraits::HasOperatorShiftLeft\u003cSTREAM, T\u003e. The problem was that the expression\n\"std::declval\u003cLHS\u003e \u003c\u003c std::declval\u003cRHS\u003e\" was being used to test if the\nexpression is valid; however, std::declval returns an r-value reference, so this\nwas testing \"r-value lhs \u003c\u003c r-value rhs\", and for stream objects, the lhs needs\nto be an l-value (typically accepts const\u0026 and \u0026). So we fix this by making it\n\"std::declval\u003cLHS\u0026\u003e\" to ensure it always evaluates to an lvalue.\n\nChange-Id: Id722a87204cf998a21130f17b9d3377c487cb890\nReviewed-on: https://dawn-review.googlesource.com/c/dawn/+/178264\nKokoro: Kokoro \u003cnoreply+kokoro@google.com\u003e\nAuto-Submit: Antonio Maiorano \u003camaiorano@google.com\u003e\nReviewed-by: Ben Clayton \u003cbclayton@google.com\u003e\nCommit-Queue: Ben Clayton \u003cbclayton@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "669a2541530e536ac1d5aa1ba9270eb1d5b07bec",
      "old_mode": 33188,
      "old_path": "src/tint/utils/traits/traits.h",
      "new_id": "b23f264f0f3eb6965d19d044a7accb89f2a05c47",
      "new_mode": 33188,
      "new_path": "src/tint/utils/traits/traits.h"
    }
  ]
}
