From abf5bd00d900c283fe2e607b8c88e6d846a8d224 Mon Sep 17 00:00:00 2001 From: Sergey Shalnov Date: Tue, 6 Aug 2019 05:02:44 -0500 Subject: [PATCH] Add more check in style configuration (#108) --- .clang-format | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.clang-format b/.clang-format index 6f2a0f293..a752b4323 100644 --- a/.clang-format +++ b/.clang-format @@ -10,9 +10,11 @@ AlignConsecutiveDeclarations: false AlignConsecutiveAssignments: false AlignTrailingComments: true -AllowShortBlocksOnASingleLine: true -AllowShortCaseLabelsOnASingleLine: true +AllowShortBlocksOnASingleLine: false +AllowShortCaseLabelsOnASingleLine: false AllowShortFunctionsOnASingleLine: Inline +AllowShortIfStatementsOnASingleLine: false +AllowShortLoopsOnASingleLine: false AlwaysBreakBeforeMultilineStrings: true AlwaysBreakTemplateDeclarations: true