kicad/_clang-format

57 lines
1.7 KiB
Plaintext
Raw Normal View History

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