)]}'
{
  "commit": "3f4e0839c48480b0cb3396ddbcadef25e69854ee",
  "tree": "58c0aeaa4804ab2685d0e0c1db5e2295089d99ef",
  "parents": [
    "1e364201e6738a34d39a9522c050768b7ad88559"
  ],
  "author": {
    "name": "Craig Scott",
    "email": "craig.scott@crascit.com",
    "time": "Thu Oct 06 16:14:04 2022 +1100"
  },
  "committer": {
    "name": "Brad King",
    "email": "brad.king@kitware.com",
    "time": "Fri Oct 07 10:33:32 2022 -0400"
  },
  "message": "clang-tidy: Don\u0027t append compiler commands if using -p\n\nWhen the -p option is given to clang-tidy, it doesn\u0027t need the compile\ncommand line to be appended. It can get everything it needs from the\ncompile_commands.json file in the directory specified with the -p option.\nWhen the compiler being used is not the system default compiler,\nclang-tidy has been observed to pick up the wrong headers when the\ncompiler command line is given, but not if only the -p option is used.\nTherefore, don\u0027t append the compiler command line if -p is present in\nthe \u003cLANG\u003e_CLANG_TIDY target property.\n\nFixes: #24017\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "af16d3c5bdb6ba5a37ae497c02fe3f526a3a6f84",
      "old_mode": 33188,
      "old_path": "Help/prop_tgt/LANG_CLANG_TIDY.rst",
      "new_id": "ffa0b9a2054483ae8bf35e8be1c48a2b04472a04",
      "new_mode": 33188,
      "new_path": "Help/prop_tgt/LANG_CLANG_TIDY.rst"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "816c7ddc2d5b15b8eac68f02e8e6d7d69d8fa782",
      "new_mode": 33188,
      "new_path": "Help/release/dev/clang-tidy-prefer-p-option.rst"
    },
    {
      "type": "modify",
      "old_id": "00c9bda63326b560b4cbf853363fe8ecc4e0d3cc",
      "old_mode": 33188,
      "old_path": "Source/cmcmd.cxx",
      "new_id": "4ba8d36e47796ba4d16934bfe6472081439d60bb",
      "new_mode": 33188,
      "new_path": "Source/cmcmd.cxx"
    },
    {
      "type": "modify",
      "old_id": "ee41d947552209c44cef42d47b4d9bf1784d2600",
      "old_mode": 33188,
      "old_path": "Tests/RunCMake/ClangTidy/RunCMakeTest.cmake",
      "new_id": "5e3fbc4785876e1da71be273d86398ec0b1ad8b0",
      "new_mode": 33188,
      "new_path": "Tests/RunCMake/ClangTidy/RunCMakeTest.cmake"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "f83e0aee9eeca1f3de3aeda1fbe3c01d619d4a70",
      "new_mode": 33188,
      "new_path": "Tests/RunCMake/ClangTidy/compdb.cmake"
    },
    {
      "type": "modify",
      "old_id": "2feeb0fc9ea056019b3f614e99cf5e03c3757756",
      "old_mode": 33188,
      "old_path": "Tests/RunCMake/pseudo_tidy.c",
      "new_id": "a43133b8dacbca6aff6a1be7449f6dca6254d679",
      "new_mode": 33188,
      "new_path": "Tests/RunCMake/pseudo_tidy.c"
    }
  ]
}
