-
Notifications
You must be signed in to change notification settings - Fork 68
/
.clang-format
37 lines (36 loc) · 1.04 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
AccessModifierOffset: -4
AlignAfterOpenBracket: true
AllowShortFunctionsOnASingleLine: false
AlwaysBreakTemplateDeclarations: true
BasedOnStyle: WebKit
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBraces: Custom
BreakConstructorInitializersBeforeComma: false
BreakConstructorInitializers: BeforeComma
BraceWrapping:
AfterClass: true
AfterControlStatement: true
AfterEnum: true
AfterFunction: true
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: true
AfterUnion: false
BeforeCatch: false
BeforeElse: true
IndentBraces: false
ColumnLimit: 0
CommentPragmas: "^!|^:"
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 2
ContinuationIndentWidth: 2
FixNamespaceComments: true
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH, forever, Q_FOREVER, QBENCHMARK, QBENCHMARK_ONCE ]
IndentWidth: 4
NamespaceIndentation: None
PointerAlignment: Middle
PointerBindsToType: false
SortIncludes: true
SpaceAfterTemplateKeyword: false
Standard: Cpp11