39bc2a371d9b7166fb99d8e9edefc6bf6514ff40 — emersion 8 months ago aa7d536 clang-format
wip: add .clang-format
1 files changed, 42 insertions(+), 0 deletions(-)

A .clang-format
A .clang-format => .clang-format +42 -0
@@ 0,0 1,42 @@
+ BasedOnStyle: LLVM
+ IndentWidth: 4
+ TabWidth: 4
+ UseTab: Always
+ BreakBeforeBraces: Attach
+ AllowShortIfStatementsOnASingleLine: false
+ IndentCaseLabels: false
+ SortIncludes: true
+ IncludeCategories:
+   - Regex: '<.*>'
+     Priority: -1
+   - Regex: '.*'
+     Priority: 0
+ ColumnLimit: 80
+ SpaceBeforeParens: ControlStatements
+ SpaceAfterCStyleCast: false
+ AlignAfterOpenBracket: DontAlign
+ AlignConsecutiveAssignments: false
+ AlignConsecutiveDeclarations: false
+ AlignEscapedNewlines: DontAlign
+ AlignOperands: false
+ AlignTrailingComments: false
+ BinPackParameters: true
+ BinPackArguments: true
+ ContinuationIndentWidth: 8
+ Cpp11BracedListStyle: false
+ AllowAllParametersOfDeclarationOnNextLine: false
+ AllowShortLoopsOnASingleLine: false
+ AllowShortBlocksOnASingleLine: false
+ AllowShortCaseLabelsOnASingleLine: false
+ AllowShortFunctionsOnASingleLine: None
+ AllowShortIfStatementsOnASingleLine: false
+ AllowShortFunctionsOnASingleLine: None
+ AlwaysBreakAfterReturnType: None
+ AlwaysBreakBeforeMultilineStrings: false
+ BreakBeforeBinaryOperators: None
+ BreakBeforeTernaryOperators: false
+ BreakStringLiterals: true
+ DerivePointerAlignment: false
+ PointerAlignment: Right
+ ReflowComments: true
+ IndentWrappedFunctionNames: true