Skip to content

Upgrade clang-format from version 18 to 20 - #125

Merged
jserv merged 1 commit into
masterfrom
style
Apr 23, 2026
Merged

jserv merged 1 commit into
masterfrom
style

Conversation

@jserv

@jserv jserv commented Apr 23, 2026

Copy link
Copy Markdown
Collaborator

Update CI workflow, check-format script, and CONTRIBUTING to reference clang-format-20. Reformat codebase to match clang-format 20 output (compound literal spacing, macro alignment).


Summary by cubic

Upgraded the project to clang-format 20 and reformatted the C sources to match the new style (compound literal spacing, macro alignment). No behavior changes.

  • Dependencies

    • CI now installs and runs clang-format-20.
    • CONTRIBUTING updated to require clang-format v20+.
  • Migration

    • Install clang-format-20 locally and ensure it’s on PATH.
    • Run clang-format -i or .ci/check-format.sh before committing.

Written for commit b82c8f1. Summary will update on new commits.

Update CI workflow, check-format script, and CONTRIBUTING to reference
clang-format-20. Reformat codebase to match clang-format 20 output
(compound literal spacing, macro alignment).

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 5 files

@jserv
jserv merged commit 4a86ee3 into master Apr 23, 2026
10 of 11 checks passed
@jserv
jserv deleted the style branch April 23, 2026 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant