Update clang-format

Configs suggested by: https://github.com/R2Northstar/NorthstarLauncher/issues/119#issuecomment-1079788384
Closes #119
This commit is contained in:
Barichello 2022-04-13 19:29:22 -03:00
parent f856fbd939
commit 04b0b417d1
No known key found for this signature in database
GPG Key ID: 29197D315AE4FF67
1 changed files with 24 additions and 2 deletions

View File

@ -1,14 +1,36 @@
Language: Cpp
Standard: Auto
Standard: Cpp11
IndentWidth: 4
TabWidth: 4
UseCRLF: false
AlignTrailingComments: false
AllowAllConstructorInitializersOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortFunctionsOnASingleLine: Empty
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakTemplateDeclarations: No
BinPackArguments: false
BinPackParameters: false
ExperimentalAutoDetectBinPacking: false
IndentCaseLabels: false
ObjCBinPackProtocolList: Auto
SpacesInSquareBrackets: false
SpacesInParentheses: false
SpaceAfterCStyleCast: false
SpaceInEmptyParentheses: false
SpaceAfterLogicalNot: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeCpp11BracedList: true
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: true
UseTab: Always
ColumnLimit: 140
BreakBeforeBraces: Allman
AlignAfterOpenBracket: AlwaysBreak
IndentExternBlock: Indent
PointerAlignment: Left
SortIncludes: false
SortIncludes: false
NamespaceIndentation: All