Skip to content

Commit

Permalink
Add clang-format configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
johnny9 committed Sep 6, 2023
1 parent 032fe24 commit 8780c57
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
BasedOnStyle: LLVM
UseTab: false
IndentWidth: 4
AllowShortIfStatementsOnASingleLine: false
IndentCaseLabels: false
ColumnLimit: 132
DerivePointerAlignment: false
PointerAlignment: Middle
AllowShortFunctionsOnASingleLine: None
BreakBeforeBraces: Custom
BraceWrapping:
AfterEnum: true
AfterStruct: true
AfterFunction: true
AfterNamespace: true
AfterUnion: true
AfterExternBlock: true
SplitEmptyFunction: false
SpaceAfterCStyleCast: true

0 comments on commit 8780c57

Please sign in to comment.