Files
CMake/Help/release
Craig Scott 3f4e0839c4 clang-tidy: Don't append compiler commands if using -p
When the -p option is given to clang-tidy, it doesn't need the compile
command line to be appended. It can get everything it needs from the
compile_commands.json file in the directory specified with the -p option.
When the compiler being used is not the system default compiler,
clang-tidy has been observed to pick up the wrong headers when the
compiler command line is given, but not if only the -p option is used.
Therefore, don't append the compiler command line if -p is present in
the <LANG>_CLANG_TIDY target property.

Fixes: #24017
2022-10-07 10:33:32 -04:00
..
2021-09-20 11:28:01 -04:00
2022-06-01 09:53:26 -04:00
2022-07-28 10:41:34 -04:00
2022-10-04 14:23:17 -04:00
2022-09-13 09:53:22 -04:00
2022-06-08 12:03:15 -04:00