From 70c040d042cb536e5ce16b0cfff0e0afa39e8ed7 Mon Sep 17 00:00:00 2001 From: Hop311 Date: Thu, 14 Sep 2023 08:52:25 +0100 Subject: Logger::warning, format cleanup + req comments --- .clang-format | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to '.clang-format') diff --git a/.clang-format b/.clang-format index bfa989e..e94fe0a 100644 --- a/.clang-format +++ b/.clang-format @@ -24,7 +24,7 @@ SpaceBeforeAssignmentOperators: true SpaceAfterTemplateKeyword: false SpaceAfterLogicalNot: false PointerAlignment: Left -PackConstructorInitializers: CurrentLine +PackConstructorInitializers: BinPack NamespaceIndentation: All LambdaBodyIndentation: Signature IndentExternBlock: Indent @@ -43,8 +43,11 @@ AllowShortIfStatementsOnASingleLine: AllIfsAndElse AllowShortEnumsOnASingleLine: true AllowShortCaseLabelsOnASingleLine: true AlignTrailingComments: true -AlignEscapedNewlines: Left -AlignAfterOpenBracket: DontAlign +AlignEscapedNewlines: DontAlign +AlignAfterOpenBracket: BlockIndent +BinPackArguments: true +BinPackParameters: true +IndentRequiresClause: false AccessModifierOffset: -4 IncludeCategories: - Regex: <[[:alnum:]_]+> @@ -53,7 +56,11 @@ IncludeCategories: Priority: 2 - Regex: ^