From 7d97f7dd97c81e0f741cee73208855593a5498d8 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Tue, 17 Sep 2024 22:13:47 +0100 Subject: [PATCH] Tweak clang-format --- roles/home-cli/files/clang-format | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/home-cli/files/clang-format b/roles/home-cli/files/clang-format index 2d79a87..394ef4c 100644 --- a/roles/home-cli/files/clang-format +++ b/roles/home-cli/files/clang-format @@ -23,7 +23,7 @@ AlignOperands: DontAlign AlignTrailingComments: true AllowAllArgumentsOnNextLine: true AllowAllParametersOfDeclarationOnNextLine: true -AllowShortBlocksOnASingleLine: Never +AllowShortBlocksOnASingleLine: Empty AllowShortCaseLabelsOnASingleLine: false AllowShortEnumsOnASingleLine: false AllowShortFunctionsOnASingleLine: None @@ -139,7 +139,7 @@ BraceWrapping: AfterControlStatement: Never AfterEnum: false AfterFunction: true - AfterNamespace: true + AfterNamespace: false AfterStruct: false AfterUnion: false AfterExternBlock: false