)]}'
{
  "commit": "3f22e76ed6549bf67270bb577faed3cc0d856056",
  "tree": "3a8fc0feb2eb446a8a229376d488bc1fe7549987",
  "parents": [
    "51c6ff8545aeea2214ac430c3772d8e2f0ed4f7d"
  ],
  "author": {
    "name": "Alexander Kornienko",
    "email": "alexfh@google.com",
    "time": "Wed Oct 28 01:36:20 2015 +0000"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Fri Sep 04 13:39:52 2020 -0700"
  },
  "message": "Add modernize-redundant-void-arg check to clang-tidy\n\nThis check for clang-tidy looks for function with zero arguments declared as (void) and removes the unnecessary void token.\n\n  int foo(void);\n\nbecomes\n\n  int foo();\n\nThe check performs no formatting of the surrounding context but uses the lexer to look for the token sequence \"(\", \"void\", \")\" in the prototype text. If this sequence of tokens is found, a removal is issued for the void token only.\n\nPatch by Richard Thomson!\n\n(+fixed tests, moved the check to the modernize module)\n\nDifferential revision: http://reviews.llvm.org/D7639\n\nllvm-svn: 251475\nGitOrigin-RevId: c3ceb2769005f8f027daf82db00a084bc80c0229\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f812976750529d6c715c8b6dc21d57b0d85fe866",
      "old_mode": 33188,
      "old_path": "clang-tidy/modernize/CMakeLists.txt",
      "new_id": "e14faaf877d135975d09946baf3f545d37c3d4a7",
      "new_mode": 33188,
      "new_path": "clang-tidy/modernize/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "d7463abf30f1991dd03df883b438ae76333087c1",
      "old_mode": 33188,
      "old_path": "clang-tidy/modernize/ModernizeTidyModule.cpp",
      "new_id": "924461ca33192932a3e8a66b90db07120132ad13",
      "new_mode": 33188,
      "new_path": "clang-tidy/modernize/ModernizeTidyModule.cpp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "5de65e4d10105316833f086e05763e842f2561f4",
      "new_mode": 33188,
      "new_path": "clang-tidy/modernize/RedundantVoidArgCheck.cpp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "8feb6e5075d9ce0c7c5d7f5227dec055839ddac1",
      "new_mode": 33188,
      "new_path": "clang-tidy/modernize/RedundantVoidArgCheck.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "6498a74e1865d8f8aae482383d9f46f8e374967d",
      "new_mode": 33188,
      "new_path": "test/clang-tidy/modernize-redundant-void-arg.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "6f23fe682daebf201e9bca04d2cd1cecbc1b52a2",
      "new_mode": 33188,
      "new_path": "test/clang-tidy/modernize-redundant-void-arg.cpp"
    }
  ]
}
