mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-27 07:11:45 +03:00
7879876ba1
* toolchain: v36 * toolchain: fixed cert path; lib: nanopb: updated to 0.4.8 * fbtenv: rolled back cert path for 3.11 * clang-format: updated config for v18 * linter fixes * clang-format: properly regenerated config (`clang-format -style=file:.clang-format -dump-config > .clang-format-new; mv .clang-format-new .clang-format`) * clang-format: AllowShortLoopsOnASingleLine: false * toolchain: v37 * fbt: compilation_db.py: fixes for Windows
246 lines
6.6 KiB
YAML
246 lines
6.6 KiB
YAML
---
|
|
Language: Cpp
|
|
AccessModifierOffset: -4
|
|
AlignAfterOpenBracket: AlwaysBreak
|
|
AlignArrayOfStructures: None
|
|
AlignConsecutiveAssignments:
|
|
Enabled: false
|
|
AcrossEmptyLines: false
|
|
AcrossComments: false
|
|
AlignCompound: false
|
|
AlignFunctionPointers: false
|
|
PadOperators: true
|
|
AlignConsecutiveBitFields:
|
|
Enabled: false
|
|
AcrossEmptyLines: false
|
|
AcrossComments: false
|
|
AlignCompound: false
|
|
AlignFunctionPointers: false
|
|
PadOperators: true
|
|
AlignConsecutiveDeclarations:
|
|
Enabled: false
|
|
AcrossEmptyLines: false
|
|
AcrossComments: false
|
|
AlignCompound: false
|
|
AlignFunctionPointers: false
|
|
PadOperators: true
|
|
AlignConsecutiveMacros:
|
|
Enabled: false
|
|
AcrossEmptyLines: false
|
|
AcrossComments: false
|
|
AlignCompound: false
|
|
AlignFunctionPointers: false
|
|
PadOperators: true
|
|
AlignConsecutiveShortCaseStatements:
|
|
Enabled: false
|
|
AcrossEmptyLines: false
|
|
AcrossComments: false
|
|
AlignCaseColons: false
|
|
AlignEscapedNewlines: Left
|
|
AlignOperands: Align
|
|
AlignTrailingComments:
|
|
Kind: Never
|
|
OverEmptyLines: 0
|
|
AllowAllArgumentsOnNextLine: true
|
|
AllowAllParametersOfDeclarationOnNextLine: false
|
|
AllowBreakBeforeNoexceptSpecifier: Never
|
|
AllowShortBlocksOnASingleLine: Never
|
|
AllowShortCaseLabelsOnASingleLine: false
|
|
AllowShortCompoundRequirementOnASingleLine: true
|
|
AllowShortEnumsOnASingleLine: true
|
|
AllowShortFunctionsOnASingleLine: None
|
|
AllowShortIfStatementsOnASingleLine: WithoutElse
|
|
AllowShortLambdasOnASingleLine: All
|
|
AllowShortLoopsOnASingleLine: false
|
|
AlwaysBreakAfterDefinitionReturnType: None
|
|
AlwaysBreakAfterReturnType: None
|
|
AlwaysBreakBeforeMultilineStrings: false
|
|
AlwaysBreakTemplateDeclarations: Yes
|
|
AttributeMacros:
|
|
- __capability
|
|
BinPackArguments: false
|
|
BinPackParameters: false
|
|
BitFieldColonSpacing: Both
|
|
BraceWrapping:
|
|
AfterCaseLabel: false
|
|
AfterClass: false
|
|
AfterControlStatement: Never
|
|
AfterEnum: false
|
|
AfterExternBlock: false
|
|
AfterFunction: false
|
|
AfterNamespace: false
|
|
AfterObjCDeclaration: false
|
|
AfterStruct: false
|
|
AfterUnion: false
|
|
BeforeCatch: false
|
|
BeforeElse: false
|
|
BeforeLambdaBody: false
|
|
BeforeWhile: false
|
|
IndentBraces: false
|
|
SplitEmptyFunction: true
|
|
SplitEmptyRecord: true
|
|
SplitEmptyNamespace: true
|
|
BreakAdjacentStringLiterals: true
|
|
BreakAfterAttributes: Leave
|
|
BreakAfterJavaFieldAnnotations: false
|
|
BreakArrays: true
|
|
BreakBeforeBinaryOperators: None
|
|
BreakBeforeConceptDeclarations: Always
|
|
BreakBeforeBraces: Attach
|
|
BreakBeforeInlineASMColon: OnlyMultiline
|
|
BreakBeforeTernaryOperators: false
|
|
BreakConstructorInitializers: BeforeComma
|
|
BreakInheritanceList: BeforeColon
|
|
BreakStringLiterals: false
|
|
ColumnLimit: 99
|
|
CommentPragmas: '^ IWYU pragma:'
|
|
CompactNamespaces: false
|
|
ConstructorInitializerIndentWidth: 4
|
|
ContinuationIndentWidth: 4
|
|
Cpp11BracedListStyle: true
|
|
DerivePointerAlignment: false
|
|
DisableFormat: false
|
|
EmptyLineAfterAccessModifier: Never
|
|
EmptyLineBeforeAccessModifier: LogicalBlock
|
|
ExperimentalAutoDetectBinPacking: false
|
|
FixNamespaceComments: false
|
|
ForEachMacros:
|
|
- foreach
|
|
- Q_FOREACH
|
|
- BOOST_FOREACH
|
|
IfMacros:
|
|
- KJ_IF_MAYBE
|
|
IncludeBlocks: Preserve
|
|
IncludeCategories:
|
|
- Regex: '.*'
|
|
Priority: 1
|
|
SortPriority: 0
|
|
CaseSensitive: false
|
|
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
|
|
Priority: 3
|
|
SortPriority: 0
|
|
CaseSensitive: false
|
|
- Regex: '.*'
|
|
Priority: 1
|
|
SortPriority: 0
|
|
CaseSensitive: false
|
|
IncludeIsMainRegex: '(Test)?$'
|
|
IncludeIsMainSourceRegex: ''
|
|
IndentAccessModifiers: false
|
|
IndentCaseBlocks: false
|
|
IndentCaseLabels: false
|
|
IndentExternBlock: AfterExternBlock
|
|
IndentGotoLabels: true
|
|
IndentPPDirectives: None
|
|
IndentRequiresClause: false
|
|
IndentWidth: 4
|
|
IndentWrappedFunctionNames: true
|
|
InsertBraces: false
|
|
InsertNewlineAtEOF: false
|
|
InsertTrailingCommas: None
|
|
IntegerLiteralSeparator:
|
|
Binary: 0
|
|
BinaryMinDigits: 0
|
|
Decimal: 0
|
|
DecimalMinDigits: 0
|
|
Hex: 0
|
|
HexMinDigits: 0
|
|
JavaScriptQuotes: Leave
|
|
JavaScriptWrapImports: true
|
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
|
KeepEmptyLinesAtEOF: false
|
|
LambdaBodyIndentation: Signature
|
|
LineEnding: DeriveLF
|
|
MacroBlockBegin: ''
|
|
MacroBlockEnd: ''
|
|
MaxEmptyLinesToKeep: 1
|
|
NamespaceIndentation: None
|
|
ObjCBinPackProtocolList: Auto
|
|
ObjCBlockIndentWidth: 4
|
|
ObjCBreakBeforeNestedBlockParam: true
|
|
ObjCSpaceAfterProperty: true
|
|
ObjCSpaceBeforeProtocolList: true
|
|
PackConstructorInitializers: BinPack
|
|
PenaltyBreakAssignment: 10
|
|
PenaltyBreakBeforeFirstCallParameter: 30
|
|
PenaltyBreakComment: 10
|
|
PenaltyBreakFirstLessLess: 0
|
|
PenaltyBreakOpenParenthesis: 0
|
|
PenaltyBreakScopeResolution: 500
|
|
PenaltyBreakString: 10
|
|
PenaltyBreakTemplateDeclaration: 10
|
|
PenaltyExcessCharacter: 100
|
|
PenaltyIndentedWhitespace: 0
|
|
PenaltyReturnTypeOnItsOwnLine: 60
|
|
PointerAlignment: Left
|
|
PPIndentWidth: -1
|
|
QualifierAlignment: Leave
|
|
ReferenceAlignment: Pointer
|
|
ReflowComments: false
|
|
RemoveBracesLLVM: false
|
|
RemoveParentheses: Leave
|
|
RemoveSemicolon: false
|
|
RequiresClausePosition: OwnLine
|
|
RequiresExpressionIndentation: OuterScope
|
|
SeparateDefinitionBlocks: Leave
|
|
ShortNamespaceLines: 1
|
|
SkipMacroDefinitionBody: false
|
|
SortIncludes: Never
|
|
SortJavaStaticImport: Before
|
|
SortUsingDeclarations: Never
|
|
SpaceAfterCStyleCast: false
|
|
SpaceAfterLogicalNot: false
|
|
SpaceAfterTemplateKeyword: true
|
|
SpaceAroundPointerQualifiers: Default
|
|
SpaceBeforeAssignmentOperators: true
|
|
SpaceBeforeCaseColon: false
|
|
SpaceBeforeCpp11BracedList: false
|
|
SpaceBeforeCtorInitializerColon: true
|
|
SpaceBeforeInheritanceColon: true
|
|
SpaceBeforeJsonColon: false
|
|
SpaceBeforeParens: Never
|
|
SpaceBeforeParensOptions:
|
|
AfterControlStatements: false
|
|
AfterForeachMacros: false
|
|
AfterFunctionDefinitionName: false
|
|
AfterFunctionDeclarationName: false
|
|
AfterIfMacros: false
|
|
AfterOverloadedOperator: false
|
|
AfterPlacementOperator: true
|
|
AfterRequiresInClause: false
|
|
AfterRequiresInExpression: false
|
|
BeforeNonEmptyParentheses: false
|
|
SpaceBeforeRangeBasedForLoopColon: true
|
|
SpaceBeforeSquareBrackets: false
|
|
SpaceInEmptyBlock: false
|
|
SpacesBeforeTrailingComments: 1
|
|
SpacesInAngles: Never
|
|
SpacesInContainerLiterals: false
|
|
SpacesInLineCommentPrefix:
|
|
Minimum: 1
|
|
Maximum: -1
|
|
SpacesInParens: Never
|
|
SpacesInParensOptions:
|
|
InCStyleCasts: false
|
|
InConditionalStatements: false
|
|
InEmptyParentheses: false
|
|
Other: false
|
|
SpacesInSquareBrackets: false
|
|
Standard: c++03
|
|
StatementAttributeLikeMacros:
|
|
- Q_EMIT
|
|
StatementMacros:
|
|
- Q_UNUSED
|
|
- QT_REQUIRE_VERSION
|
|
TabWidth: 4
|
|
UseTab: Never
|
|
VerilogBreakBetweenInstancePorts: true
|
|
WhitespaceSensitiveMacros:
|
|
- STRINGIZE
|
|
- PP_STRINGIZE
|
|
- BOOST_PP_STRINGIZE
|
|
- NS_SWIFT_NAME
|
|
- CF_SWIFT_NAME
|
|
...
|
|
|