a4caa44580
* Add clang format file .clang-format * Use clang format on bitset --------- Co-authored-by: MeirGavish <meir.gavish@gmail.com>
51 lines
1023 B
YAML
51 lines
1023 B
YAML
BasedOnStyle: LLVM
|
|
IndentWidth: 4
|
|
UseTab: Never
|
|
|
|
# Allman brace style
|
|
BreakBeforeBraces: Allman
|
|
AllowShortBlocksOnASingleLine: false
|
|
AllowShortIfStatementsOnASingleLine: false
|
|
AllowShortFunctionsOnASingleLine: None
|
|
AllowShortLoopsOnASingleLine: false
|
|
|
|
# Pointer alignment
|
|
PointerAlignment: Left
|
|
|
|
# Column limit
|
|
ColumnLimit: 120
|
|
|
|
# Case labels
|
|
IndentCaseLabels: true
|
|
|
|
# Include sorting
|
|
SortIncludes: CaseSensitive
|
|
IncludeBlocks: Regroup
|
|
|
|
ContinuationIndentWidth: 4
|
|
AlignArrayOfStructures: Left
|
|
PackConstructorInitializers: Never
|
|
|
|
SpaceBeforeParens: Custom
|
|
SpaceBeforeParensOptions:
|
|
AfterControlStatements: true
|
|
AfterFunctionDefinitionName: false
|
|
|
|
AlignOperands: AlignAfterOperator
|
|
BreakBeforeBinaryOperators: None
|
|
|
|
IndentPPDirectives: AfterHash
|
|
AlignConsecutiveMacros: Consecutive
|
|
|
|
BinPackArguments: false
|
|
BinPackParameters: false
|
|
|
|
AllowAllArgumentsOnNextLine: false
|
|
AllowAllParametersOfDeclarationOnNextLine: false
|
|
AlignAfterOpenBracket: Align
|
|
|
|
ReflowComments: true
|
|
SpacesInLineCommentPrefix:
|
|
Minimum: 1
|
|
Maximum: 1
|