Enhance save as template and new from template dialogs
[inkscape.git] / _clang-format
blob48de4d2bd88b828b513cdeae012feaada98851d0
1 ---
2 # SPDX-License-Identifier: GPL-2.0-or-later
3 Language:        Cpp
4 # BasedOnStyle:  LLVM
5 AccessModifierOffset: -4
6 AlignAfterOpenBracket: Align
7 AlignConsecutiveMacros: false
8 AlignConsecutiveAssignments: false
9 AlignConsecutiveDeclarations: false
10 AlignEscapedNewlines: Left
11 AlignOperands:   true
12 AlignTrailingComments: true
13 AllowAllArgumentsOnNextLine: false
14 AllowAllConstructorInitializersOnNextLine: false
15 AllowAllParametersOfDeclarationOnNextLine: false
16 AllowShortBlocksOnASingleLine: false
17 AllowShortCaseLabelsOnASingleLine: false
18 AllowShortFunctionsOnASingleLine: Inline
19 AllowShortIfStatementsOnASingleLine: Never
20 AllowShortLambdasOnASingleLine: All
21 AllowShortLoopsOnASingleLine: false
22 AlwaysBreakAfterReturnType: None
23 AlwaysBreakBeforeMultilineStrings: false
24 AlwaysBreakTemplateDeclarations: Yes
25 BinPackArguments: true
26 BinPackParameters: true
27 BraceWrapping:
28   AfterCaseLabel:  false
29   AfterClass:      true
30   AfterControlStatement: false
31   AfterEnum:       true
32   AfterFunction:   true
33   AfterNamespace:  false
34   AfterStruct:     true
35   AfterUnion:      true
36   AfterExternBlock: false
37   BeforeCatch:     false
38   BeforeElse:      false
39   IndentBraces:    false
40   SplitEmptyFunction: false
41   SplitEmptyRecord: true
42   SplitEmptyNamespace: true
43 BreakBeforeBinaryOperators: None
44 BreakBeforeBraces: Custom
45 BreakBeforeTernaryOperators: true
46 BreakConstructorInitializers: BeforeComma
47 BreakInheritanceList: BeforeComma
48 BreakStringLiterals: true
49 ColumnLimit:     120
50 CompactNamespaces: false
51 ConstructorInitializerAllOnOneLineOrOnePerLine: false
52 ConstructorInitializerIndentWidth: 4
53 ContinuationIndentWidth: 4
54 Cpp11BracedListStyle: true
55 DerivePointerAlignment: false
56 DisableFormat:   false
57 DerivePointerBinding: false
58 ExperimentalAutoDetectBinPacking: false
59 FixNamespaceComments: true
60 ForEachMacros: []
61 IncludeBlocks: Regroup
62 IncludeCategories:
63   - Regex:           '^<'
64     Priority:        1
65   - Regex:           '^"'
66     Priority:        2
67 IncludeIsMainRegex: '(-test)?$'
68 IndentCaseLabels: true
69 IndentPPDirectives: None
70 IndentWidth:     4
71 IndentWrappedFunctionNames: false
72 KeepEmptyLinesAtTheStartOfBlocks: false
73 MacroBlockBegin: ''
74 MacroBlockEnd:   ''
75 MaxEmptyLinesToKeep: 1
76 NamespaceIndentation: None
77 NamespaceMacros: []
78 PenaltyBreakAssignment: 2
79 PenaltyBreakBeforeFirstCallParameter: 19
80 PenaltyBreakComment: 60
81 PenaltyBreakFirstLessLess: 120
82 PenaltyBreakString: 1000
83 PenaltyBreakTemplateDeclaration: 10
84 PenaltyExcessCharacter: 1000000
85 PenaltyReturnTypeOnItsOwnLine: 60
86 PointerAlignment: Right
87 ReflowComments:  true
88 SortIncludes:    true
89 SortUsingDeclarations: true
90 SpaceAfterCStyleCast: false
91 SpaceAfterLogicalNot: false
92 SpaceAfterTemplateKeyword: true
93 SpaceBeforeAssignmentOperators: true
94 SpaceBeforeCpp11BracedList: false
95 SpaceBeforeCtorInitializerColon: true
96 SpaceBeforeInheritanceColon: true
97 SpaceBeforeParens: ControlStatements
98 SpaceBeforeRangeBasedForLoopColon: true
99 SpaceInEmptyParentheses: false
100 SpacesBeforeTrailingComments: 1
101 SpacesInAngles: false
102 SpacesInContainerLiterals: false
103 SpacesInCStyleCastParentheses: false
104 SpacesInParentheses: false
105 SpacesInSquareBrackets: false
106 Standard:        c++20
107 StatementMacros: []
108 TypenameMacros: []
109 TabWidth: 4
110 UseCRLF: false
111 UseTab: Never