Skip to content

Commit

Permalink
Adopting a clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
Coeur committed Nov 1, 2024
1 parent 20c6f56 commit d60935b
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
AlignAfterOpenBracket: AlwaysBreak
AlignArrayOfStructures: Right
AlignConsecutiveAssignments: None
AlignConsecutiveBitFields: AcrossEmptyLinesAndComments
AlignConsecutiveDeclarations: true
AlignConsecutiveMacros: AcrossEmptyLinesAndComments
AlignEscapedNewlines: Right
AlignOperands: false
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: Empty
AllowShortLoopsOnASingleLine: false
AlwaysBreakBeforeMultilineStrings: false
BinPackArguments: true
BinPackParameters: true
BreakBeforeBraces: Attach
BreakBeforeBinaryOperators: None
ColumnLimit: 100
Cpp11BracedListStyle: false
IndentPPDirectives: AfterHash
IndentWidth: 4
InsertBraces: false
InsertNewlineAtEOF: true
MaxEmptyLinesToKeep: 1
PenaltyBreakAssignment: 1000
PenaltyBreakBeforeFirstCallParameter: 1000
PenaltyExcessCharacter: 1
PenaltyReturnTypeOnItsOwnLine: 1000
PointerAlignment: Right
PPIndentWidth: 2
SortIncludes: Never
SpaceAfterCStyleCast: false
SpacesInAngles: Never
SpacesInSquareBrackets: false
UseTab: Never

0 comments on commit d60935b

Please sign in to comment.