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

feat: Improve clang hook error diagnostics

#226Merged
Comparing
codex/improve-error-diagnostics
(
34398c1
) with
main
(
a029d55
)
CodSpeed Performance Gauge
-19%
Regression
2
Untouched
86
New
2
Skipped
13

Benchmarks

103 total
test_clang_tidy_parallel_execution_completes
tests/test_integration.py
CodSpeed Performance Gauge
-21%
1.9 ms2.5 ms
test_run_clang_tidy_invalid[args0-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
-18%
1.3 ms1.5 ms
test_resolve_install_with_diagnostics_invalid_version_lists_supported_versions
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A246.1 µs
test_resolve_install_with_diagnostics_verbose_prints_resolved_version
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A980.7 µs
test_resolve_install_invalid_version
tests/test_util.py
CodSpeed Performance Gauge
+6%
1.1 ms1 ms
test_clang_format_style_preset_reformats_unformatted_file[Microsoft]
tests/test_integration.py
CodSpeed Performance Gauge
+2%
809.4 µs793.9 µs
test_clang_format_style_preset_reformats_unformatted_file[WebKit]
tests/test_integration.py
CodSpeed Performance Gauge
+2%
812.1 µs798.4 µs
test_clang_format_style_preset_is_idempotent[LLVM]
tests/test_integration.py
CodSpeed Performance Gauge
+2%
1.4 ms1.3 ms
test_clang_format_style_from_file_is_idempotent
tests/test_integration.py
CodSpeed Performance Gauge
+2%
1.3 ms1.3 ms
test_run_clang_format_invalid[args0-1]
tests/test_clang_format.py
CodSpeed Performance Gauge
+2%
808.1 µs794.9 µs
test_clang_format_style_preset_is_idempotent[WebKit]
tests/test_integration.py
CodSpeed Performance Gauge
+2%
1.4 ms1.3 ms
test_clang_format_style_preset_reformats_unformatted_file[Google]
tests/test_integration.py
CodSpeed Performance Gauge
+2%
808 µs795.1 µs
test_clang_format_style_preset_is_idempotent[Google]
tests/test_integration.py
CodSpeed Performance Gauge
+2%
1.4 ms1.3 ms
test_clang_format_style_preset_reformats_unformatted_file[Mozilla]
tests/test_integration.py
CodSpeed Performance Gauge
+2%
807.5 µs795.3 µs
test_clang_format_style_from_file_reformats
tests/test_integration.py
CodSpeed Performance Gauge
+2%
811.9 µs799.7 µs
test_clang_format_style_preset_is_idempotent[Chromium]
tests/test_integration.py
CodSpeed Performance Gauge
+1%
1.4 ms1.3 ms
test_clang_format_style_preset_is_idempotent[Microsoft]
tests/test_integration.py
CodSpeed Performance Gauge
+1%
1.4 ms1.3 ms
test_clang_format_style_preset_reformats_unformatted_file[Chromium]
tests/test_integration.py
CodSpeed Performance Gauge
+1%
807.9 µs796.6 µs
test_clang_format_style_preset_is_idempotent[Mozilla]
tests/test_integration.py
CodSpeed Performance Gauge
+1%
1.4 ms1.3 ms
test_clang_format_google_style_matches_good_c
tests/test_integration.py
CodSpeed Performance Gauge
+1%
806.8 µs796.2 µs
test_run_clang_format_dry_run[args0-1]
tests/test_clang_format.py
CodSpeed Performance Gauge
+1%
806.6 µs796.7 µs
test_run_clang_format_valid[args0-expected_retval0]
tests/test_clang_format.py
CodSpeed Performance Gauge
+1%
963.8 µs952.9 µs
test_clang_format_verbose_flag_succeeds[-v]
tests/test_integration.py
CodSpeed Performance Gauge
+1%
853.4 µs844.8 µs
test_clang_format_style_preset_reformats_unformatted_file[LLVM]
tests/test_integration.py
CodSpeed Performance Gauge
+1%
812.1 µs804.2 µs
test_run_clang_format_verbose
tests/test_clang_format.py
CodSpeed Performance Gauge
+1%
981.5 µs974.4 µs

Commits

Click on a commit to change the comparison range
Base
main
a029d55
-19.25%
Improve clang hook error diagnostics
fbc6270
19 hours ago
by shenxianpeng
0%
[pre-commit.ci] auto fixes from pre-commit.com hooks
34398c1
19 hours ago
by pre-commit-ci[bot]
© 2026 CodSpeed Technology
Home Terms Privacy Docs