Describe the bug
CodeChecker no longer finds enabled checkers for clang-tidy:
CodeChecker analyze ./build/compile_commands.json --analyzers clang-tidy -o reports -i.static_analysis.skip --analyzer-config clang-tidy:take-config-from-directory=true --analyzer-config clang-tidy:cc-verbatim-args-file=.tidy-args || true
[ERROR 2026-01-05 12:44] - Binary /usr/bin/diagtool not found
[INFO 2026-01-05 12:44] - No checkers enabled for clang-tidy
[INFO 2026-01-05 12:44] - Enabled checker list can be found in reports/metadata.json
[INFO 2026-01-05 12:44] - Starting static analysis ...
[INFO 2026-01-05 12:44] - ----==== Summary ====----
[INFO 2026-01-05 12:44] - Total analyzed compilation commands: 432
[INFO 2026-01-05 12:44] - Skipped compilation commands: 910
[INFO 2026-01-05 12:44] - ----=================----
[INFO 2026-01-05 12:44] - Analysis finished.
[INFO 2026-01-05 12:44] - To view results in the terminal use the "CodeChecker parse" command.
[INFO 2026-01-05 12:44] - To store results use the "CodeChecker store" command.
[INFO 2026-01-05 12:44] - See --help and the user guide for further options about parsing and storing the reports.
[INFO 2026-01-05 12:44] - ----=================----
[INFO 2026-01-05 12:44] - Analysis length: 0.05321502685546875 sec.
CodeChecker version
Broken in 6.27.1
Works by downgrading to 6.26.2
To Reproduce
Use CodeChecker with analyzers clang-tidy and a .clang-tidy file
Expected behaviour
Expected 6.27.1 to behave like 6.26.2 and correctly determine the checkers enabled in .clang-tidy
Desktop (please complete the following information)
- OS: Ubuntu 24.04
- clang-tidy 21
Additional context
Can be fixed/broken by just updating CodeChecker in the same environment
Describe the bug
CodeChecker no longer finds enabled checkers for clang-tidy:
CodeChecker version
Broken in
6.27.1Works by downgrading to
6.26.2To Reproduce
Use CodeChecker with analyzers clang-tidy and a
.clang-tidyfileExpected behaviour
Expected 6.27.1 to behave like 6.26.2 and correctly determine the checkers enabled in
.clang-tidyDesktop (please complete the following information)
Additional context
Can be fixed/broken by just updating CodeChecker in the same environment