Debian Codegraph @

.clang-format

raw
1 ---
2 Language: Cpp
3 # BasedOnStyle: LLVM
4 AccessModifierOffset: -2
5 AlignAfterOpenBracket: Align
6 AlignConsecutiveMacros: false
7 AlignConsecutiveAssignments: false
8 AlignConsecutiveDeclarations: false
9 AlignEscapedNewlines: Right
10 AlignOperands: true
11 AlignTrailingComments: true
12 AllowAllArgumentsOnNextLine: true
13 AllowAllConstructorInitializersOnNextLine: true
14 AllowAllParametersOfDeclarationOnNextLine: true
15 AllowShortBlocksOnASingleLine: Never
16 AllowShortCaseLabelsOnASingleLine: false
17 AllowShortFunctionsOnASingleLine: All
18 AllowShortLambdasOnASingleLine: All
19 AllowShortIfStatementsOnASingleLine: Never
20 AllowShortLoopsOnASingleLine: false
21 AlwaysBreakAfterDefinitionReturnType: None
22 AlwaysBreakAfterReturnType: None
23 AlwaysBreakBeforeMultilineStrings: false
24 AlwaysBreakTemplateDeclarations: MultiLine
25 BinPackArguments: true
26 BinPackParameters: true
27 BraceWrapping:
28 AfterCaseLabel: false
29 AfterClass: false
30 AfterControlStatement: false
31 AfterEnum: false
32 AfterFunction: false
33 AfterNamespace: false
34 AfterObjCDeclaration: false
35 AfterStruct: false
36 AfterUnion: false
37 AfterExternBlock: false
38 BeforeCatch: false
39 BeforeElse: false
40 IndentBraces: false
41 SplitEmptyFunction: true
42 SplitEmptyRecord: true
43 SplitEmptyNamespace: true
44 BreakBeforeBinaryOperators: None
45 BreakBeforeBraces: Attach
46 BreakBeforeInheritanceComma: false
47 BreakInheritanceList: BeforeColon
48 BreakBeforeTernaryOperators: true
49 BreakConstructorInitializersBeforeComma: false
50 BreakConstructorInitializers: BeforeColon
51 BreakAfterJavaFieldAnnotations: false
52 BreakStringLiterals: true
53 ColumnLimit: 120
54 CommentPragmas: '^ IWYU pragma:'
55 CompactNamespaces: false
56 ConstructorInitializerAllOnOneLineOrOnePerLine: false
57 ConstructorInitializerIndentWidth: 4
58 ContinuationIndentWidth: 4
59 Cpp11BracedListStyle: true
60 DeriveLineEnding: true
61 DerivePointerAlignment: false
62 DisableFormat: false
63 ExperimentalAutoDetectBinPacking: false
64 FixNamespaceComments: true
65 ForEachMacros:
66 - foreach
67 - Q_FOREACH
68 - BOOST_FOREACH
69 IncludeBlocks: Preserve
70 IncludeCategories:
71 - Regex: '^"(llvm|llvm-c|clang|clang-c)/'
72 Priority: 2
73 SortPriority: 0
74 - Regex: '^(<|"(gtest|gmock|isl|json)/)'
75 Priority: 3
76 SortPriority: 0
77 - Regex: '.*'
78 Priority: 1
79 SortPriority: 0
80 IncludeIsMainRegex: '(Test)?$'
81 IncludeIsMainSourceRegex: ''
82 IndentCaseLabels: false
83 IndentGotoLabels: true
84 IndentPPDirectives: None
85 IndentWidth: 2
86 IndentWrappedFunctionNames: false
87 JavaScriptQuotes: Leave
88 JavaScriptWrapImports: true
89 KeepEmptyLinesAtTheStartOfBlocks: true
90 MacroBlockBegin: ''
91 MacroBlockEnd: ''
92 MaxEmptyLinesToKeep: 1
93 NamespaceIndentation: None
94 ObjCBinPackProtocolList: Auto
95 ObjCBlockIndentWidth: 2
96 ObjCSpaceAfterProperty: false
97 ObjCSpaceBeforeProtocolList: true
98 PenaltyBreakAssignment: 2
99 PenaltyBreakBeforeFirstCallParameter: 19
100 PenaltyBreakComment: 300
101 PenaltyBreakFirstLessLess: 120
102 PenaltyBreakString: 1000
103 PenaltyBreakTemplateDeclaration: 10
104 PenaltyExcessCharacter: 1000000
105 PenaltyReturnTypeOnItsOwnLine: 60
106 PointerAlignment: Right
107 ReflowComments: true
108 SortIncludes: true
109 SortUsingDeclarations: true
110 SpaceAfterCStyleCast: false
111 SpaceAfterLogicalNot: false
112 SpaceAfterTemplateKeyword: true
113 SpaceBeforeAssignmentOperators: true
114 SpaceBeforeCpp11BracedList: false
115 SpaceBeforeCtorInitializerColon: true
116 SpaceBeforeInheritanceColon: true
117 SpaceBeforeParens: ControlStatements
118 SpaceBeforeRangeBasedForLoopColon: true
119 SpaceInEmptyBlock: false
120 SpaceInEmptyParentheses: false
121 SpacesBeforeTrailingComments: 1
122 SpacesInAngles: false
123 SpacesInConditionalStatement: false
124 SpacesInContainerLiterals: true
125 SpacesInCStyleCastParentheses: false
126 SpacesInParentheses: false
127 SpacesInSquareBrackets: false
128 SpaceBeforeSquareBrackets: false
129 Standard: Latest
130 StatementMacros:
131 - Q_UNUSED
132 - QT_REQUIRE_VERSION
133 TabWidth: 8
134 UseCRLF: false
135 UseTab: Never
136 InsertBraces: true
137 QualifierAlignment: Left
138 ...
139