aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format12
1 files changed, 7 insertions, 5 deletions
diff --git a/.clang-format b/.clang-format
index 2f7e218..f180135 100644
--- a/.clang-format
+++ b/.clang-format
@@ -1,16 +1,18 @@
---
-AccessModifierOffset: 0
+AccessModifierOffset: -4
AlignConsecutiveAssignments: true
-AllowShortIfStatementsOnASingleLine: WithoutElse
+AllowShortIfStatementsOnASingleLine: AllIfsAndElse
AllowShortLoopsOnASingleLine: true
BasedOnStyle: LLVM
BreakBeforeBraces: Attach
-ColumnLimit: 100
+ColumnLimit: 180
+EmptyLineBeforeAccessModifier: Always
+IndentAccessModifiers: false
IndentCaseLabels: true
-IndentWidth: '4'
+IndentWidth: 4
Language: Cpp
Standard: Cpp11
-TabWidth: '4'
+TabWidth: 4
UseTab: Always
...