Skip to content

clang-format: move opening brace to new line for multiline control st…

899a63d
Select commit
Loading
Failed to load commit list.
Open

Fix multiline brace placement for clang #3540

clang-format: move opening brace to new line for multiline control st…
899a63d
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 20, 2026 in 1s

76.41% (-0.01%) compared to 0327c27, passed because coverage increased by 0.01% when compared to adjusted base (76.39%)

View this Pull Request on Codecov

76.41% (-0.01%) compared to 0327c27, passed because coverage increased by 0.01% when compared to adjusted base (76.39%)

Details

Codecov Report

❌ Patch coverage is 83.66534% with 41 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.41%. Comparing base (0327c27) to head (899a63d).

Files with missing lines Patch % Lines
src/sentinel.c 0.00% 18 Missing ⚠️
src/module.c 12.50% 7 Missing ⚠️
src/valkey-cli.c 66.66% 4 Missing ⚠️
src/server.c 85.71% 3 Missing ⚠️
src/config.c 66.66% 2 Missing ⚠️
src/replication.c 90.90% 2 Missing ⚠️
src/blocked.c 50.00% 1 Missing ⚠️
src/cluster_legacy.c 96.66% 1 Missing ⚠️
src/cluster_migrateslots.c 90.90% 1 Missing ⚠️
src/fuzzer_command_generator.c 83.33% 1 Missing ⚠️
... and 1 more
Additional details and impacted files
@@             Coverage Diff              @@
##           unstable    #3540      +/-   ##
============================================
- Coverage     76.41%   76.41%   -0.01%     
============================================
  Files           159      159              
  Lines         79927    79925       -2     
============================================
- Hits          61078    61072       -6     
- Misses        18849    18853       +4     
Files with missing lines Coverage Δ
src/acl.c 92.52% <100.00%> (ø)
src/anet.c 72.44% <ø> (ø)
src/aof.c 80.37% <100.00%> (+0.06%) ⬆️
src/bitops.c 96.22% <100.00%> (ø)
src/childinfo.c 97.33% <100.00%> (ø)
src/cli_common.c 64.90% <100.00%> (ø)
src/cluster.c 92.45% <100.00%> (+0.23%) ⬆️
src/cluster_slot_stats.c 93.75% <100.00%> (ø)
src/commandlog.c 95.79% <100.00%> (ø)
src/db.c 94.50% <100.00%> (ø)
... and 41 more

... and 5 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.