)]}'
{
  "commit": "db71defb66efbbb4f2cfb2a3643b1e96657fa215",
  "tree": "36b08fbdade017504e620a92fb3d455b00f58b85",
  "parents": [
    "8266380c777791e36182ba9f729884fd3c77e2ad"
  ],
  "author": {
    "name": "Pirama Arumuga Nainar",
    "email": "pirama@google.com",
    "time": "Thu Jan 06 15:46:55 2022 -0800"
  },
  "committer": {
    "name": "Pirama Arumuga Nainar",
    "email": "pirama@google.com",
    "time": "Thu Feb 03 11:53:52 2022 -0800"
  },
  "message": "Annotate fortify functions with diagnose_as_builtin\n\nBug: http://b/197147102\nBug: http://b/214080353\n\nWith https://reviews.llvm.org/D77491, clang got stricter when issuing\ndiagnostics regarding builtin functions.\nhttps://reviews.llvm.org/D112024 adds a diagnose_as_builtin attribute\nwhich lets it diagnose builtins even though their signature is slightly\ndifferent.  This patch adds diagnose_as_builtin attribute as needed.\n\nVersioner is built with an older clang so it doesn\u0027t recognize this\nattribute.  So this is added with a preprocessor check on clang\nversions.  We can remove the version check once versioner gets updated\nshortly after the compiler update.\n\nTest: mmma bionic/tests with clang-r445002\nChange-Id: I3d0d63ecdbea0cffe97eb5110e2d9f2a7595a38e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "42698dd99c80b20e2c4feb9047b20f8d7a85a4ab",
      "old_mode": 33188,
      "old_path": "libc/include/bits/fortify/stdio.h",
      "new_id": "77bdbb4d894db0f337716e9aee23fa70de5b6263",
      "new_mode": 33188,
      "new_path": "libc/include/bits/fortify/stdio.h"
    },
    {
      "type": "modify",
      "old_id": "beb5ff5b868f28d879d9c5697116432516d00a8b",
      "old_mode": 33188,
      "old_path": "libc/include/bits/fortify/string.h",
      "new_id": "08bce2d0786b35bb214dd7dadcf2b688dcce887c",
      "new_mode": 33188,
      "new_path": "libc/include/bits/fortify/string.h"
    },
    {
      "type": "modify",
      "old_id": "2556d118345a56290f91b78d47b89021a1a646aa",
      "old_mode": 33188,
      "old_path": "libc/include/sys/cdefs.h",
      "new_id": "99a200a01bb5995424305fab07b2c3b1c378c477",
      "new_mode": 33188,
      "new_path": "libc/include/sys/cdefs.h"
    }
  ]
}
