)]}'
{
  "commit": "ea213b96a6532ff1955539c7e063222f581153a0",
  "tree": "74698db0c77c239e4cb7998fb3d97604704d0742",
  "parents": [
    "c61cb6d646b10309beff1d0b2ec0c1c0c59bb806"
  ],
  "author": {
    "name": "Eric Fiselier",
    "email": "eric@efcs.ca",
    "time": "Sat Jul 23 01:16:55 2016 +0000"
  },
  "committer": {
    "name": "Eric Fiselier",
    "email": "eric@efcs.ca",
    "time": "Sat Jul 23 01:16:55 2016 +0000"
  },
  "message": "[libcxx] Diagnose invalid memory order arguments in \u003catomic\u003e. Fixes PR21179.\n\nSummary:\nThis patch uses the __attribute__((enable_if)) hack suggested by @rsmith to diagnose invalid arguments when possible.\n\nIn order to diagnose an invalid argument `m` to `f(m)` we provide an additional overload of `f` that is only enabled when `m` is invalid. When that function is enabled it uses __attribute__((unavailable)) to produce a diagnostic message.\n\nReviewers: mclow.lists, rsmith, jfb, EricWF\n\nSubscribers: bcraig, jfb, rsmith, cfe-commits\n\nDifferential Revision: https://reviews.llvm.org/D22557\n\ngit-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@276506 91177308-0d34-0410-b5e6-96231b3b80d8\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a25b5bf8d7732a8b296faa4869454b1e32ca71e1",
      "old_mode": 33188,
      "old_path": "include/atomic",
      "new_id": "4353c178b5e6ff71924d21911c691067ac97a1c0",
      "new_mode": 33188,
      "new_path": "include/atomic"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "58fc684e049be4d10ea5d91ada11513f44c36ad5",
      "new_mode": 33188,
      "new_path": "test/libcxx/atomics/diagnose_invalid_memory_order.fail.cpp"
    }
  ]
}
