Skip to content

Commit

Permalink
Update .clang-format
Browse files Browse the repository at this point in the history
Signed-off-by: Yuxuan Shui <[email protected]>
  • Loading branch information
yshui committed Aug 30, 2020
1 parent 24f0241 commit 01e6d68
Show file tree
Hide file tree
Showing 2 changed files with 105 additions and 103 deletions.
4 changes: 3 additions & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,22 @@ BreakBeforeBraces: Attach
#BreakStringLiterals: true
IndentWidth: 8
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: true
ColumnLimit: 90
#ExperimentalAutoDetectBinPacking: true
BinPackArguments: true
BinPackParameters: true
#ReflowComments: true
AlignTrailingComments: true
AlignConsecutiveMacros: true
SpacesBeforeTrailingComments: 8
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
AllowShortIfStatementsOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: false
IndentCaseLabels: false
IndentPPDirectives: None
IndentPPDirectives: AfterHash
PenaltyReturnTypeOnItsOwnLine: 0
PenaltyBreakAssignment: 0
PenaltyBreakBeforeFirstCallParameter: 1
Expand Down
Loading

0 comments on commit 01e6d68

Please sign in to comment.