Skip to content

chore: clang-format configuration file based on LLVM#63

Merged
Eamon2009 merged 1 commit into
Eamon2009:masterfrom
codeaddict-119:master
May 31, 2026
Merged

chore: clang-format configuration file based on LLVM#63
Eamon2009 merged 1 commit into
Eamon2009:masterfrom
codeaddict-119:master

Conversation

@codeaddict-119
Copy link
Copy Markdown
Collaborator

Summary

Adds a .clang-format configuration file to enforce automated, consistent C++ code styling across the repository. The configuration is built on top of the LLVM base style with explicit overrides tailored for this project.

  • Braces: Allman style (BreakBeforeBraces: Allman).
  • Alignment: Pointers and references align to the right (PointerAlignment, ReferenceAlignment).
  • Wrapping: 100-character column limit with bin-packing disabled for function arguments and parameters.
  • Formatting: Control statements include spaces before parentheses; short functions/blocks are only allowed on a single line if they are empty.

@codeaddict-119 codeaddict-119 requested a review from Eamon2009 May 31, 2026 17:04
@codeaddict-119 codeaddict-119 self-assigned this May 31, 2026
@Eamon2009 Eamon2009 merged commit 1d9e2da into Eamon2009:master May 31, 2026
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