Skip to content

style: Reformat code with clang-format#486

Merged
kadler merged 2 commits into
mainfrom
reformat-code
Jul 7, 2026
Merged

style: Reformat code with clang-format#486
kadler merged 2 commits into
mainfrom
reformat-code

Conversation

@kadler

@kadler kadler commented Jul 7, 2026

Copy link
Copy Markdown
Member

Use a clang-format based on LLVM's style and add a .git-blame-ignore-revs to ignore the reformat commit when running git blame.

@kadler kadler requested a review from abmusse July 7, 2026 19:10
kadler added 2 commits July 7, 2026 14:35
Use a clang-format based on LLVM's style. Also add a lint step to check
formatting for PRs.
This can be used to ignore the these revisions with git-blame, eg.
git blame --ignore-revs-file .git-blame-ignore-revs. Also GitHub will
use this by default when blaming throught the UI.

@abmusse abmusse left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@kadler kadler merged commit 2f22f6e into main Jul 7, 2026
5 checks passed
@kadler kadler deleted the reformat-code branch July 7, 2026 21:20
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.

2 participants