forked from ITISFoundation/osparc-iseg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
56 lines (56 loc) · 1.45 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
Language: Cpp
# BasedOnStyle: LLVM
AccessModifierOffset: -2
AllowShortBlocksOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlignEscapedNewlines: Right
AlignAfterOpenBracket: DontAlign
AlwaysBreakAfterReturnType: None
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: true
AfterStruct: true
AfterFunction: true
AfterNamespace: false
AfterEnum: false
AfterUnion: false
AfterControlStatement: true
BeforeCatch: true
BeforeElse: true
IndentBraces: false
SplitEmptyFunction: true
BreakBeforeInheritanceComma: true
BreakConstructorInitializers: BeforeColon
PointerAlignment: Left
CompactNamespaces: true
Cpp11BracedListStyle: true
FixNamespaceComments: true
IncludeBlocks: Preserve
SortIncludes: true
IndentCaseLabels: false
IndentPPDirectives: AfterHash
IndentWrappedFunctionNames: true
KeepEmptyLinesAtTheStartOfBlocks: true
NamespaceIndentation: None
ReflowComments: false
IndentWidth: 2
UseTab: Always
TabWidth: 2
SpaceAfterTemplateKeyword: false
#SpaceBeforeCtorInitializerColon: true
SpaceBeforeAssignmentOperators: true
#SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
#SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyParentheses: false
SpacesInAngles: false
MaxEmptyLinesToKeep: 1
ColumnLimit: 0
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH