Skip to content
Snippets Groups Projects
Commit 00ee06d6 authored by Guilherme Amadio's avatar Guilherme Amadio Committed by Vassil Vassilev
Browse files

Don't let clang-format to put if condition and body on the same line

This is aesthetically bad, and makes it hard to set break points to
specific parts of the code when debugging.
parent e8352d30
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ AllowAllParametersOfDeclarationOnNextLine: true ...@@ -11,7 +11,7 @@ AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: true AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: Inline AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: true AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: true AllowShortLoopsOnASingleLine: true
# This option is "deprecated and is retained for backwards compatibility." # This option is "deprecated and is retained for backwards compatibility."
# AlwaysBreakAfterDefinitionReturnType: None # AlwaysBreakAfterDefinitionReturnType: None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment