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_version_clang_format[None-None]
tests/test_util.py
CodSpeed Performance Gauge
0%
87.4 µs87.9 µs
test_resolve_install_tool_already_installed_correct_version
tests/test_util.py
CodSpeed Performance Gauge
0%
933.1 µs928.7 µs
test_run_clang_tidy_valid[args3-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
test_install_tool_failure
tests/test_util.py
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
test_resolve_version_clang_tidy[18-18.1.8]
tests/test_util.py
CodSpeed Performance Gauge
0%
108.5 µs109 µs
test_resolve_version_clang_tidy[19-19.1.0.1]
tests/test_util.py
CodSpeed Performance Gauge
0%
108.4 µs108.9 µs
test_run_clang_tidy_invalid[args5-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
test_version_lists_not_empty
tests/test_util.py
CodSpeed Performance Gauge
0%
115.4 µs115.9 µs
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_resolve_version_clang_tidy[20-20.1.0]
tests/test_util.py
CodSpeed Performance Gauge
0%
104.9 µs105.3 µs
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_invalid[args2-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
0%
1.2 ms1.2 ms
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_tidy_invalid[args4-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
0%
1.2 ms1.2 ms
test_run_clang_format_valid[args1-expected_retval1]
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
990 µs987.6 µs
test_run_clang_tidy_valid[args6-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
test_run_clang_tidy_invalid[args1-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
0%
1.2 ms1.2 ms

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
3 months ago
by Copilot
+0.06%
[pre-commit.ci] auto fixes from pre-commit.com hooks
15a2158
3 months 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
3 months ago
by shenxianpeng
© 2026 CodSpeed Technology
Home Terms Privacy Docs