Browse Source

Don't allow short if and for statements on one line

Make debugging harder
tamasmeszaros 2 years ago
parent
commit
05ee2a06ff
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .clang-format

+ 2 - 2
.clang-format

@@ -13,8 +13,8 @@ AllowAllParametersOfDeclarationOnNextLine: true
 AllowShortBlocksOnASingleLine: true
 AllowShortCaseLabelsOnASingleLine: true
 AllowShortFunctionsOnASingleLine: All
-AllowShortIfStatementsOnASingleLine: true
-AllowShortLoopsOnASingleLine: true
+AllowShortIfStatementsOnASingleLine: false
+AllowShortLoopsOnASingleLine: false
 AlwaysBreakAfterDefinitionReturnType: None
 AlwaysBreakAfterReturnType: None
 AlwaysBreakBeforeMultilineStrings: false