summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format11
1 files changed, 10 insertions, 1 deletions
diff --git a/.clang-format b/.clang-format
index b9e86d8..cb492a9 100644
--- a/.clang-format
+++ b/.clang-format
@@ -4,7 +4,16 @@ BasedOnStyle: LLVM
IndentWidth: 2
UseTab: Never
ColumnLimit: 80
-AllowShortFunctionsOnASingleLine: None
+AllowShortBlocksOnASingleLine: Always
+AllowShortCaseLabelsOnASingleLine: true
+AllowShortEnumsOnASingleLine: true
+AllowShortFunctionsOnASingleLine: All
+AllowShortIfStatementsOnASingleLine: Always
+AllowShortLambdasOnASingleLine: All
+AllowShortLoopsOnASingleLine: true
+AllowShortNamespacesOnASingleLine: true
+MaxEmptyLinesToKeep: 1
+KeepEmptyLinesAtTheStartOfBlocks: false
AlwaysBreakBeforeMultilineStrings: true
FixNamespaceComments: false
...