mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2024-12-21 17:09:34 +00:00
58 lines
1.7 KiB
YAML
58 lines
1.7 KiB
YAML
# minimum clang-format 10
|
|
BasedOnStyle: LLVM
|
|
AccessModifierOffset: -4
|
|
AlignAfterOpenBracket: Align
|
|
AlignConsecutiveAssignments: false
|
|
AlignConsecutiveDeclarations: true
|
|
AlignOperands: true
|
|
AlignTrailingComments: true
|
|
AllowAllConstructorInitializersOnNextLine: false
|
|
AllowAllParametersOfDeclarationOnNextLine: false
|
|
AllowShortBlocksOnASingleLine: Never
|
|
AllowShortCaseLabelsOnASingleLine: true
|
|
AllowShortFunctionsOnASingleLine: InlineOnly
|
|
AllowShortIfStatementsOnASingleLine: Never
|
|
AllowShortLambdasOnASingleLine: None
|
|
AllowShortLoopsOnASingleLine: false
|
|
AlwaysBreakAfterReturnType: None
|
|
AlwaysBreakBeforeMultilineStrings: false
|
|
AlwaysBreakTemplateDeclarations: Yes
|
|
BinPackArguments: true
|
|
BinPackParameters: true
|
|
BreakBeforeBinaryOperators: NonAssignment
|
|
BreakBeforeBraces: Allman
|
|
BreakBeforeTernaryOperators: true
|
|
BreakConstructorInitializers: AfterColon
|
|
BreakConstructorInitializersBeforeComma: false
|
|
BreakStringLiterals: true
|
|
ColumnLimit: 100
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
|
ConstructorInitializerIndentWidth: 8
|
|
ContinuationIndentWidth: 8
|
|
Cpp11BracedListStyle: false
|
|
DerivePointerAlignment: false
|
|
DisableFormat: false
|
|
ForEachMacros: [ BOOST_FOREACH ]
|
|
IndentCaseLabels: false
|
|
IndentWidth: 4
|
|
IndentWrappedFunctionNames: false
|
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
|
Language: Cpp
|
|
MaxEmptyLinesToKeep: 2
|
|
NamespaceIndentation: Inner
|
|
PointerAlignment: Left
|
|
ReflowComments: false
|
|
SortIncludes: false
|
|
SpaceAfterCStyleCast: true
|
|
SpaceBeforeAssignmentOperators: true
|
|
SpaceBeforeParens: Never
|
|
SpaceInEmptyParentheses: false
|
|
SpacesBeforeTrailingComments: 1
|
|
SpacesInAngles: false
|
|
SpacesInCStyleCastParentheses: false
|
|
SpacesInParentheses: true
|
|
SpacesInSquareBrackets: false
|
|
Standard: c++11
|
|
TabWidth: 4
|
|
UseTab: Never
|