Browse Source

Add clang format specification

suites/experimental
Kenny Levinsen 2 years ago
parent
commit
3b32bd539b
  1. 27
      .clang-format

27
.clang-format

@ -0,0 +1,27 @@
---
IndentWidth: 8
TabWidth: 8
ContinuationIndentWidth: 8
UseTab: Always
ColumnLimit: 100
AlignConsecutiveMacros: true
AlignEscapedNewlines: Left
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortFunctionsOnASingleLine: Empty
BreakBeforeBinaryOperators: None
BreakStringLiterals: false
PenaltyExcessCharacter: 10
PenaltyBreakBeforeFirstCallParameter: 999999
PenaltyBreakAssignment: 10
MaxEmptyLinesToKeep: 1
PointerAlignment: Right
ReflowComments: true
SortIncludes: true
---
Loading…
Cancel
Save