aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2019-10-14 13:24:54 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2019-10-14 13:24:54 +0300
commit11e3d5eb1d4a4b399b180083ec52484d53ebf724 (patch)
tree03ca29f08adb9220a2de9f2e9e8bd32c7b6dd375
parente82f874a2376998567ecbf9be3b979ff1db4754c (diff)
util: Add AllowShortCaseLabelsOnASingleLine option
-rw-r--r--src/.clang-format1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/.clang-format b/src/.clang-format
index 38e19edf2c..aae039dd77 100644
--- a/src/.clang-format
+++ b/src/.clang-format
@@ -5,6 +5,7 @@ AlignEscapedNewlinesLeft: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: false
+AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: false