-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-format
34 lines (33 loc) · 1002 Bytes
/
.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
BasedOnStyle: WebKit
Standard: Cpp11
ColumnLimit: 150
CommentPragmas: "^!|^:"
PointerBindsToType: true
BreakBeforeBinaryOperators: NonAssignment
BreakConstructorInitializersBeforeComma: false
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: true
AfterControlStatement: false
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterObjCDeclaration: false
AfterStruct: true
AfterUnion: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
AlignAfterOpenBracket: true
AlwaysBreakTemplateDeclarations: true
AllowShortFunctionsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
SortIncludes: true
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH, forever, Q_FOREVER, QBENCHMARK, QBENCHMARK_ONCE ]
ContinuationIndentWidth: 0
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 8
IndentCaseLabels: true
NamespaceIndentation: All
Cpp11BracedListStyle: true