forked from diasurgical/devilution
-
Notifications
You must be signed in to change notification settings - Fork 20
/
.clang-format
42 lines (40 loc) · 1.16 KB
/
.clang-format
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
BasedOnStyle: LLVM,
Language: Cpp,
AlignAfterOpenBracket: Align,
AlignConsecutiveAssignments: false,
AlignConsecutiveDeclarations: false,
AlignEscapedNewlines: false,
AlignOperands: false,
AlignTrailingComments: false,
AlwaysBreakAfterReturnType: None,
AlwaysBreakBeforeMultilineStrings: false,
AlwaysBreakTemplateDeclarations: true,
BreakBeforeBinaryOperators: None,
BreakBeforeTernaryOperators: false,
CompactNamespaces: false,
ConstructorInitializerAllOnOneLineOrOnePerLine: true,
FixNamespaceComments: true,
IndentCaseLabels: false,
NamespaceIndentation: None,
PointerAlignment: Left,
SortIncludes: false,
SortUsingDeclarations: false,
SpaceAfterCStyleCast: true,
SpaceAfterTemplateKeyword: false,
SpaceBeforeAssignmentOperators: true,
SpaceBeforeParens: ControlStatements,
SpaceInEmptyParentheses: false,
SpacesInAngles: false,
SpacesInCStyleCastParentheses: false,
SpacesInSquareBrackets: false,
Standard: Cpp11,
ColumnLimit: 0,
BreakBeforeBraces: Attach,
BreakConstructorInitializers: BeforeComma,
IndentWidth: 2,
Cpp11BracedListStyle: true,
SpacesInParentheses: false,
TabWidth: 2,
UseTab: Never,
}