forked from bazza2jw/open62541Cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
42 lines (40 loc) · 1.19 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: Chromium
AlignConsecutiveAssignments: 'true'
#already chromium default
#AlignAfterOpenBracket: Align
#AllowAllParametersOfDeclarationOnNextLine: false
AllowAllArgumentsOnNextLine: false
BraceWrapping:
AfterClass: true
# AfterControlStatement: Multiline ...after v10
AfterControlStatement: false
AfterEnum: false
AfterFunction: true
AfterNamespace: false
AfterObjCDeclaration: true
AfterStruct: false
AfterUnion: true
BeforeCatch: true
BeforeElse: true
IndentBraces: false
BreakBeforeBraces: Custom
BreakConstructorInitializers: BeforeColon
BreakConstructorInitializersBeforeComma: true
ConstructorInitializerAllOnOneLineOrOnePerLine: false # always one per line
SortIncludes: false
# Writes name of namespace as a comment behind closing namespace bracket.
# E.g.
# } // namespace foo
FixNamespaceComments: true
ColumnLimit: 120
IndentWidth: 4
# true: false:
# if (foo) { vs. if (foo) {
# bar();
# bar(); }
# }
KeepEmptyLinesAtTheStartOfBlocks: 'true'
BinPackArguments: false
AccessModifierOffset: -4
...