Skip to content

Enable use of clang format - #345

Merged
Chuck Walbourn (walbourn) merged 7 commits into
mainfrom
clangformat
Sep 21, 2026
Merged

Chuck Walbourn (walbourn) merged 7 commits into
mainfrom
clangformat

Conversation

@walbourn

@walbourn Chuck Walbourn (walbourn) commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator
  • Enable clang-format for GitHub Super Linter

  • Added clang format script: powershell -File build/Format.ps1

Local reformat has to exactly match the SuperLinter version. winget install --id=LLVM.LLVM --version 21.1.2 installs the matching version. You use powershell -File build/Format.ps1 -LLVM to use that version.

NOTE that SuperLinter doesn't check .inl files yet, but this should be fixed in a future update.

@walbourn Chuck Walbourn (walbourn) added maintenance github_actions Pull requests that update GitHub Actions code labels Sep 7, 2026
Comment thread build/Format.ps1 Outdated
Comment thread .github/linters/.clang-format
@walbourn
Chuck Walbourn (walbourn) merged commit b758b4a into main Sep 21, 2026
234 checks passed
@walbourn
Chuck Walbourn (walbourn) deleted the clangformat branch September 21, 2026 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider adding a Clang-Tidy configuration to enforce some coding conventions

2 participants