X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=.clang-format;h=0e1993de3b9d7c4acda3623678cf7373dd618a8c;hb=d216586560dfb856066b86de4ffe06ac92ba3f7e;hp=29b06b02ce7fb7d55734e4ed14a6afd077cc30fa;hpb=3df337f434444b08dbf3d550c6eb2eb712096180;p=chorizo.git diff --git a/.clang-format b/.clang-format index 29b06b0..0e1993d 100644 --- a/.clang-format +++ b/.clang-format @@ -7,11 +7,11 @@ AlignEscapedNewlines: Left # Unknown to clang-format-4.0 AlignOperands: true AlignTrailingComments: false AllowAllParametersOfDeclarationOnNextLine: false -AllowShortBlocksOnASingleLine: false +AllowShortBlocksOnASingleLine: true AllowShortCaseLabelsOnASingleLine: false AllowShortFunctionsOnASingleLine: None -AllowShortIfStatementsOnASingleLine: false -AllowShortLoopsOnASingleLine: false +AllowShortIfStatementsOnASingleLine: true +AllowShortLoopsOnASingleLine: true AlwaysBreakAfterDefinitionReturnType: true AlwaysBreakAfterReturnType: None AlwaysBreakBeforeMultilineStrings: false