From 94a574fef2adc7801edfe7ea2049f16cbb079770 Mon Sep 17 00:00:00 2001 From: Jose Martins Date: Sat, 14 Oct 2023 16:04:19 +0100 Subject: [PATCH] update: misc clang-format options Signed-off-by: Jose Martins --- .clang-format | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.clang-format b/.clang-format index 3a4181c..3e70331 100644 --- a/.clang-format +++ b/.clang-format @@ -38,7 +38,7 @@ BraceWrapping: SplitEmptyRecord: false BreakBeforeBinaryOperators: None BreakBeforeTernaryOperators: false -BreakBeforeInlineASMColon: OnlyMultiline +BreakBeforeInlineASMColon: Never BreakStringLiterals: true ColumnLimit: 80 ContinuationIndentWidth: 4 @@ -49,7 +49,7 @@ IncludeBlocks: Preserve IndentCaseBlocks: false IndentCaseLabels: true IndentGotoLabels: false -IndentPPDirectives: BeforeHash +IndentPPDirectives: None IndentWidth: 4 IndentWrappedFunctionNames: false InsertBraces: true @@ -62,11 +62,11 @@ MacroBlockBegin: '' MacroBlockEnd: '' MaxEmptyLinesToKeep: 1 PenaltyBreakAssignment: 2 -PenaltyBreakBeforeFirstCallParameter: 1000 +PenaltyBreakBeforeFirstCallParameter: 100 PenaltyBreakComment: 10 PenaltyBreakFirstLessLess: 10 -PenaltyBreakOpenParenthesis: 5 -PenaltyBreakString: 10 +PenaltyBreakOpenParenthesis: 100 +PenaltyBreakString: 100 PenaltyBreakTemplateDeclaration: 10 PenaltyExcessCharacter: 50 PenaltyReturnTypeOnItsOwnLine: 100