aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.clang-format26
1 files changed, 26 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
new file mode 100644
index 000000000..bd896176d
--- /dev/null
+++ b/.clang-format
@@ -0,0 +1,26 @@
1---
2BasedOnStyle: Google
3AlignAfterOpenBracket: Align
4AlignConsecutiveAssignments: 'true'
5AlignConsecutiveDeclarations: 'true'
6AlignOperands: 'true'
7AllowAllParametersOfDeclarationOnNextLine: 'false'
8AlwaysBreakAfterDefinitionReturnType: None
9AlwaysBreakAfterReturnType: None
10AlwaysBreakBeforeMultilineStrings: 'false'
11BinPackArguments: 'true'
12BinPackParameters: 'true'
13ColumnLimit: '1000'
14IndentCaseLabels: 'true'
15IndentPPDirectives: AfterHash
16IndentWidth: '2'
17MaxEmptyLinesToKeep: '1'
18PointerAlignment: Right
19SortIncludes: 'false'
20SpaceBeforeAssignmentOperators: 'true'
21SpaceBeforeParens: ControlStatements
22SpaceInEmptyParentheses: 'false'
23TabWidth: '2'
24UseTab: Never
25
26...