aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.clang-format
diff options
context:
space:
mode:
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format10
1 files changed, 8 insertions, 2 deletions
diff --git a/.clang-format b/.clang-format
index d0eec4c..cc61b8a 100644
--- a/.clang-format
+++ b/.clang-format
@@ -2,16 +2,22 @@
Language: Cpp
BasedOnStyle: Chromium
+IndentWidth: 4
+
AccessModifierOffset: -4
+AlignConsecutiveMacros: AcrossComments
+AllowShortFunctionsOnASingleLine: Empty
BinPackArguments: false
+BreakConstructorInitializers: BeforeComma
+BreakInheritanceList: BeforeComma
BreakStringLiterals: false
ColumnLimit: 100
IncludeBlocks: Regroup
-IndentWidth: 4
SpacesBeforeTrailingComments: 1
+WrapNamespaceBodyWithEmptyLines: Always
IncludeCategories:
- - Regex: '^".*'
+ - Regex: '^".+'
Priority: 1
- Regex: '^<winapi\/'
Priority: 2