forked from qxmpp-project/qxmpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
40 lines (39 loc) · 952 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
35
36
37
38
39
40
# SPDX-FileCopyrightText: 2019 Georg Rudoy <0xd34df00d@gmail.com>
#
# SPDX-License-Identifier: CC0-1.0
AlignAfterOpenBracket: Align
AlignTrailingComments: true
BasedOnStyle: WebKit
BraceWrapping:
AfterClass: true
AfterFunction: true
AfterStruct: false
SplitEmptyRecord: false
BreakAfterAttributes: Always
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Custom
BreakBeforeTernaryOperators: true
BreakConstructorInitializers: BeforeColon
BreakStringLiterals: true
DisableFormat: false
FixNamespaceComments: true
IncludeBlocks: Regroup
IncludeCategories:
- Regex: "^.QXmpp.*"
Priority: 1
- Regex: "^\".*\"$"
Priority: 2
- Regex: "^<Q(?!Xmpp).*"
Priority: 3
- Regex: "^<[^Q].*"
Priority: 4
InsertBraces: true
Language: Cpp
NamespaceIndentation: None
PointerAlignment: Right
ReflowComments: true
SortIncludes: true
SpaceAfterTemplateKeyword: false
SpacesBeforeTrailingComments: 2
SpacesInLineCommentPrefix:
Minimum: 1