~inkscape.dev/inkscape/trunk

12757 by Johan B. C. Engelen
add clang-format file, not sure if all settings are set the way we want them to be
1
---
2
# BasedOnStyle:  LLVM
3
AccessModifierOffset: -2
4
ConstructorInitializerIndentWidth: 4
5
AlignEscapedNewlinesLeft: false
6
AlignTrailingComments: true
7
AllowAllParametersOfDeclarationOnNextLine: true
13341.1.48 by Johan B. C. Engelen
update clang format spec for latest clangformat version
8
AllowShortBlocksOnASingleLine: true
12757 by Johan B. C. Engelen
add clang-format file, not sure if all settings are set the way we want them to be
9
AllowShortIfStatementsOnASingleLine: false
10
AllowShortLoopsOnASingleLine: false
13341.1.48 by Johan B. C. Engelen
update clang format spec for latest clangformat version
11
AllowShortFunctionsOnASingleLine: All
12762 by Johan B. C. Engelen
improve clang-format settings
12
AlwaysBreakTemplateDeclarations: true
12757 by Johan B. C. Engelen
add clang-format file, not sure if all settings are set the way we want them to be
13
AlwaysBreakBeforeMultilineStrings: false
14
BreakBeforeBinaryOperators: false
13341.1.48 by Johan B. C. Engelen
update clang format spec for latest clangformat version
15
BreakBeforeTernaryOperators: true
12762 by Johan B. C. Engelen
improve clang-format settings
16
BreakConstructorInitializersBeforeComma: true
12757 by Johan B. C. Engelen
add clang-format file, not sure if all settings are set the way we want them to be
17
BinPackParameters: true
18
ColumnLimit:     120
13592 by Johan B. C. Engelen
Change clang-format configuration
19
ConstructorInitializerAllOnOneLineOrOnePerLine: false
12757 by Johan B. C. Engelen
add clang-format file, not sure if all settings are set the way we want them to be
20
DerivePointerBinding: false
21
ExperimentalAutoDetectBinPacking: false
22
IndentCaseLabels: true
12762 by Johan B. C. Engelen
improve clang-format settings
23
MaxEmptyLinesToKeep: 3
13341.1.48 by Johan B. C. Engelen
update clang format spec for latest clangformat version
24
KeepEmptyLinesAtTheStartOfBlocks: true
12757 by Johan B. C. Engelen
add clang-format file, not sure if all settings are set the way we want them to be
25
NamespaceIndentation: None
13341.1.48 by Johan B. C. Engelen
update clang format spec for latest clangformat version
26
ObjCSpaceAfterProperty: false
12757 by Johan B. C. Engelen
add clang-format file, not sure if all settings are set the way we want them to be
27
ObjCSpaceBeforeProtocolList: true
13341.1.48 by Johan B. C. Engelen
update clang format spec for latest clangformat version
28
PenaltyBreakBeforeFirstCallParameter: 19
12757 by Johan B. C. Engelen
add clang-format file, not sure if all settings are set the way we want them to be
29
PenaltyBreakComment: 60
30
PenaltyBreakString: 1000
31
PenaltyBreakFirstLessLess: 120
32
PenaltyExcessCharacter: 1000000
33
PenaltyReturnTypeOnItsOwnLine: 60
34
PointerBindsToType: false
35
SpacesBeforeTrailingComments: 1
36
Cpp11BracedListStyle: false
37
Standard:        Cpp03
38
IndentWidth:     4
39
TabWidth:        4
40
UseTab:          Never
41
BreakBeforeBraces: Stroustrup
42
IndentFunctionDeclarationAfterType: false
43
SpacesInParentheses: false
13341.1.48 by Johan B. C. Engelen
update clang format spec for latest clangformat version
44
SpacesInAngles:  false
12757 by Johan B. C. Engelen
add clang-format file, not sure if all settings are set the way we want them to be
45
SpaceInEmptyParentheses: false
46
SpacesInCStyleCastParentheses: false
13341.1.48 by Johan B. C. Engelen
update clang format spec for latest clangformat version
47
SpacesInContainerLiterals: true
12757 by Johan B. C. Engelen
add clang-format file, not sure if all settings are set the way we want them to be
48
SpaceAfterControlStatementKeyword: true
13341.1.48 by Johan B. C. Engelen
update clang format spec for latest clangformat version
49
ContinuationIndentWidth: 4
12757 by Johan B. C. Engelen
add clang-format file, not sure if all settings are set the way we want them to be
50
SpaceBeforeAssignmentOperators: true
51
...
52