Skip to content
Snippets Groups Projects
Commit 8b0e50ae authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Add clang-format

- format is based on LLVM format with a bunch of customizations
- clang-format is deactivated in the `packages` directory
parent e286eeab
Branches
Tags
1 merge request!13Feature/clang format
---
BasedOnStyle: LLVM
AccessModifierOffset: '-1'
AlignConsecutiveAssignments: 'false'
AlignEscapedNewlines: Left
AlignOperands: 'true'
AlignTrailingComments: 'true'
AllowAllParametersOfDeclarationOnNextLine: 'false'
AllowShortIfStatementsOnASingleLine: 'false'
AllowShortLoopsOnASingleLine: 'true'
AlwaysBreakAfterDefinitionReturnType: All
AlwaysBreakAfterReturnType: All
AlwaysBreakTemplateDeclarations: 'Yes'
BinPackArguments: 'false'
BinPackParameters: 'false'
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Mozilla
ColumnLimit: '100'
ConstructorInitializerAllOnOneLineOrOnePerLine: 'true'
Cpp11BracedListStyle: 'true'
FixNamespaceComments: 'true'
IndentWidth: '2'
PointerAlignment: Left
ReflowComments: 'true'
SortIncludes: 'true'
SortUsingDeclarations: 'true'
SpaceAfterTemplateKeyword: 'true'
SpaceBeforeAssignmentOperators: 'true'
SpaceBeforeCpp11BracedList: 'false'
SpaceBeforeInheritanceColon: 'true'
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: 'true'
SpacesInParentheses: 'false'
SpacesInSquareBrackets: 'false'
Standard: Auto
...
---
Language: Cpp
DisableFormat: true
SortIncludes: false
---
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment