kicad-source/_clang-format

56 lines
1.6 KiB
Plaintext
Raw Normal View History

2020-12-15 19:09:46 -05:00
# minimum clang-format 10
2017-03-13 09:28:22 -04:00
BasedOnStyle: LLVM
AccessModifierOffset: -4
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false
2017-03-13 09:28:22 -04:00
AlignConsecutiveDeclarations: true
2020-12-15 19:09:46 -05:00
AlignOperands: true
2017-03-13 09:28:22 -04:00
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: InlineOnly
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: None
2017-03-13 09:28:22 -04:00
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: Yes
BinPackArguments: true
2017-03-13 09:28:22 -04:00
BinPackParameters: true
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBraces: Allman
BreakBeforeTernaryOperators: true
BreakConstructorInitializers: AfterColon
BreakStringLiterals: true
ColumnLimit: 120
2017-03-13 09:28:22 -04:00
ConstructorInitializerIndentWidth: 8
ContinuationIndentWidth: 8
2017-03-13 09:28:22 -04:00
Cpp11BracedListStyle: false
DerivePointerAlignment: false
DisableFormat: false
ForEachMacros: [ BOOST_FOREACH ]
IndentCaseLabels: false
IndentWidth: 4
IndentWrappedFunctionNames: false
KeepEmptyLinesAtTheStartOfBlocks: false
2017-03-13 09:28:22 -04:00
Language: Cpp
MaxEmptyLinesToKeep: 2
NamespaceIndentation: Inner
PackConstructorInitializers: Never
2017-03-13 09:28:22 -04:00
PointerAlignment: Left
ReflowComments: false
SortIncludes: false
2017-03-13 09:28:22 -04:00
SpaceAfterCStyleCast: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: Never
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInCStyleCastParentheses: false
SpacesInParentheses: true
SpacesInSquareBrackets: false
Standard: c++11
2017-03-13 09:28:22 -04:00
TabWidth: 4
UseTab: Never