Avatar for the cpp-linter user
cpp-linter
cpp-linter-hooks
BlogDocsChangelog

feat(clang-tidy): add --fix opt-in flag for auto-applying fixes in place

#206Merged
Comparing
copilot/add-auto-fix-support-clang-tidy
(
30ca9e9
) with
main
(
dc6f651
)
CodSpeed Performance Gauge
-14%
Regression
2
Untouched
61
Skipped
13

Benchmarks

76 total
test_run_clang_tidy_invalid[args0-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
-14%
1.1 ms1.3 ms
test_run_clang_tidy_valid[args0-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
-14%
1.1 ms1.3 ms
test_run_clang_format_verbose
tests/test_clang_format.py
CodSpeed Performance Gauge
+1%
985.3 µs979.9 µs
test_resolve_install_tool_already_installed_correct_version
tests/test_util.py
CodSpeed Performance Gauge
0%
933.1 µs928.7 µs
test_install_tool_failure
tests/test_util.py
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
test_resolve_install_with_none_default_version
tests/test_util.py
CodSpeed Performance Gauge
0%
1 ms1 ms
test_resolve_install_tool_version_mismatch
tests/test_util.py
CodSpeed Performance Gauge
0%
1.3 ms1.3 ms
test_is_version_installed_version_mismatch
tests/test_util.py
CodSpeed Performance Gauge
0%
848.6 µs845.8 µs
test_install_tool_success
tests/test_util.py
CodSpeed Performance Gauge
0%
879.9 µs877.3 µs
test_run_clang_tidy_valid[args5-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
test_get_version_from_dependency_malformed_toml
tests/test_util.py
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
test_run_clang_format_invalid[args3-1]
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
863 µs860.7 µs
test_is_version_installed_not_in_path
tests/test_util.py
CodSpeed Performance Gauge
0%
510.8 µs509.5 µs
test_run_clang_format_valid[args1-expected_retval1]
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
990 µs987.6 µs
test_run_clang_format_valid[args0-expected_retval0]
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
967.5 µs965.3 µs
test_install_tool_success_but_not_found
tests/test_util.py
CodSpeed Performance Gauge
0%
844.2 µs842.4 µs
test_resolve_install_invalid_version
tests/test_util.py
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
test_get_version_from_dependency_missing_file
tests/test_util.py
CodSpeed Performance Gauge
0%
964.4 µs962.6 µs
test_resolve_install_tool_not_installed
tests/test_util.py
CodSpeed Performance Gauge
0%
947.4 µs945.6 µs
test_run_clang_format_invalid[args1-1]
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
852.5 µs851.7 µs
test_run_clang_format_valid[args6-expected_retval6]
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
979.8 µs979.1 µs
test_resolve_version_clang_format[20-20.1.8]
tests/test_util.py
CodSpeed Performance Gauge
0%
139.1 µs139 µs
test_run_clang_format_invalid[args5-1]
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
856.5 µs856 µs
test_resolve_version_clang_format[18-18.1.8]
tests/test_util.py
CodSpeed Performance Gauge
0%
145.9 µs145.9 µs
test_resolve_version_clang_tidy[None-None]
tests/test_util.py
CodSpeed Performance Gauge
0%
86.9 µs86.9 µs

Commits

Click on a commit to change the comparison range
Base
main
dc6f651
-14.29%
feat: add --fix argument to clang-tidy hook for auto-fix support
5ab9aa6
26 days ago
by Copilot
+0.06%
[pre-commit.ci] auto fixes from pre-commit.com hooks
15a2158
25 days ago
by pre-commit-ci[bot]
-0.08%
feat: update README and code to support clang-tidy auto-fix with version v1.4.0
30ca9e9
25 days ago
by shenxianpeng
© 2026 CodSpeed Technology
Home Terms Privacy Docs