From d38565f64e4c0304b8ea2ae060c9e1c11ba5a863 Mon Sep 17 00:00:00 2001 From: David Capello Date: Thu, 12 Dec 2024 19:54:49 -0300 Subject: [PATCH] [clang-format] Set SeparateDefinitionBlocks=Always With the current code it makes no difference, but it will force new definitions to be in its own block, e.g. we cannot define two functions without a blank line between then. --- .clang-format | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.clang-format b/.clang-format index c5facee6d..b8759eac9 100644 --- a/.clang-format +++ b/.clang-format @@ -174,7 +174,7 @@ RemoveParentheses: Leave RemoveSemicolon: false RequiresClausePosition: OwnLine RequiresExpressionIndentation: OuterScope -SeparateDefinitionBlocks: Leave +SeparateDefinitionBlocks: Always ShortNamespaceLines: 1 SkipMacroDefinitionBody: false SortIncludes: CaseSensitive