Debian Codegraph @

.clang-format

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