kicad/_clang-format

58 lines
1.7 KiB
Plaintext
Raw Normal View History

2020-12-16 00:09:46 +00:00
# minimum clang-format 10
2017-03-13 13:28:22 +00:00
BasedOnStyle: LLVM
AccessModifierOffset: -4
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false
2017-03-13 13:28:22 +00:00
AlignConsecutiveDeclarations: true
2020-12-16 00:09:46 +00:00
AlignOperands: true
2017-03-13 13:28:22 +00:00
AlignTrailingComments: true
AllowAllConstructorInitializersOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: InlineOnly
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: None
2017-03-13 13:28:22 +00:00
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: Yes
BinPackArguments: true
2017-03-13 13:28:22 +00:00
BinPackParameters: true
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBraces: Allman
BreakBeforeTernaryOperators: true
BreakConstructorInitializers: AfterColon
2017-03-13 13:28:22 +00:00
BreakConstructorInitializersBeforeComma: false
BreakStringLiterals: true
2017-03-13 13:28:22 +00:00
ColumnLimit: 100
ConstructorInitializerAllOnOneLineOrOnePerLine: false
2017-03-13 13:28:22 +00:00
ConstructorInitializerIndentWidth: 8
ContinuationIndentWidth: 8
2017-03-13 13:28:22 +00:00
Cpp11BracedListStyle: false
DerivePointerAlignment: false
DisableFormat: false
ForEachMacros: [ BOOST_FOREACH ]
IndentCaseLabels: false
IndentWidth: 4
IndentWrappedFunctionNames: false
KeepEmptyLinesAtTheStartOfBlocks: false
2017-03-13 13:28:22 +00:00
Language: Cpp
MaxEmptyLinesToKeep: 2
NamespaceIndentation: Inner
PointerAlignment: Left
ReflowComments: false
SortIncludes: false
2017-03-13 13:28:22 +00: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 13:28:22 +00:00
TabWidth: 4
UseTab: Never