diff options
| -rw-r--r-- | .clang-format | 26 |
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 | --- | ||
| 2 | BasedOnStyle: Google | ||
| 3 | AlignAfterOpenBracket: Align | ||
| 4 | AlignConsecutiveAssignments: 'true' | ||
| 5 | AlignConsecutiveDeclarations: 'true' | ||
| 6 | AlignOperands: 'true' | ||
| 7 | AllowAllParametersOfDeclarationOnNextLine: 'false' | ||
| 8 | AlwaysBreakAfterDefinitionReturnType: None | ||
| 9 | AlwaysBreakAfterReturnType: None | ||
| 10 | AlwaysBreakBeforeMultilineStrings: 'false' | ||
| 11 | BinPackArguments: 'true' | ||
| 12 | BinPackParameters: 'true' | ||
| 13 | ColumnLimit: '1000' | ||
| 14 | IndentCaseLabels: 'true' | ||
| 15 | IndentPPDirectives: AfterHash | ||
| 16 | IndentWidth: '2' | ||
| 17 | MaxEmptyLinesToKeep: '1' | ||
| 18 | PointerAlignment: Right | ||
| 19 | SortIncludes: 'false' | ||
| 20 | SpaceBeforeAssignmentOperators: 'true' | ||
| 21 | SpaceBeforeParens: ControlStatements | ||
| 22 | SpaceInEmptyParentheses: 'false' | ||
| 23 | TabWidth: '2' | ||
| 24 | UseTab: Never | ||
| 25 | |||
| 26 | ... | ||
