From 04b0b417d1c9f45a708d3e2eec9146fabe09c1d1 Mon Sep 17 00:00:00 2001 From: Barichello Date: Wed, 13 Apr 2022 19:29:22 -0300 Subject: Update clang-format Configs suggested by: https://github.com/R2Northstar/NorthstarLauncher/issues/119#issuecomment-1079788384 Closes #119 --- .clang-format | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) (limited to '.clang-format') diff --git a/.clang-format b/.clang-format index 5fafec43..0c08cabd 100644 --- a/.clang-format +++ b/.clang-format @@ -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 \ No newline at end of file +SortIncludes: false +NamespaceIndentation: All -- cgit v1.2.3