-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.clang-format
59 lines (37 loc) · 1.06 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
BasedOnStyle: LLVM
BreakBeforeInheritanceComma: true
BreakConstructorInitializersBeforeComma: true
ColumnLimit: 256
CommentPragmas: "^!|^:"
SpaceAfterTemplateKeyword: false
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: true
AfterControlStatement: true
AfterEnum: true
AfterFunction: true
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: true
AfterUnion: true
BeforeCatch: true
BeforeElse: true
BeforeLambdaBody: true
IndentBraces: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
NamespaceIndentation: None
AlignAfterOpenBracket: DontAlign
AlwaysBreakTemplateDeclarations: Yes
AllowShortFunctionsOnASingleLine: Inline
SortIncludes: false
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH, forever, Q_FOREVER, QBENCHMARK, QBENCHMARK_ONCE ]
BreakConstructorInitializers: BeforeColon
IndentCaseLabels: true
IndentWidth: 4
Cpp11BracedListStyle: false
# http://www.stroustrup.com/bs_faq2.html#whitespace
PointerAlignment: Left
PointerBindsToType: true
...