Debian Codegraph @

.clang-format

raw
1 ---
2 # BasedOnStyle: LLVM
3 AccessModifierOffset: -2
4 AlignAfterOpenBracket: Align
5 AlignConsecutiveAssignments: false
6 AlignConsecutiveDeclarations: false
7 AlignEscapedNewlines: DontAlign
8 AlignOperands: true
9 AlignTrailingComments: false
10 AllowAllParametersOfDeclarationOnNextLine: true
11 AllowShortBlocksOnASingleLine: false
12 AllowShortCaseLabelsOnASingleLine: false
13 AllowShortFunctionsOnASingleLine: InlineOnly
14 AllowShortIfStatementsOnASingleLine: false
15 AllowShortLoopsOnASingleLine: false
16 AlwaysBreakAfterDefinitionReturnType: None
17 AlwaysBreakAfterReturnType: None
18 AlwaysBreakBeforeMultilineStrings: false
19 AlwaysBreakTemplateDeclarations: true
20 BinPackArguments: true
21 BinPackParameters: false
22 BreakBeforeBinaryOperators: None
23 BreakBeforeBraces: Allman
24 BreakBeforeTernaryOperators: true
25 BreakConstructorInitializersBeforeComma: false
26 BreakConstructorInitializers: BeforeColon
27 BreakAfterJavaFieldAnnotations: false
28 BreakStringLiterals: true
29 ColumnLimit: 100
30 CommentPragmas: '^ IWYU pragma:'
31 ConstructorInitializerAllOnOneLineOrOnePerLine: true
32 ConstructorInitializerIndentWidth: 2
33 ContinuationIndentWidth: 4
34 Cpp11BracedListStyle: true
35 DerivePointerAlignment: false
36 DisableFormat: false
37 ExperimentalAutoDetectBinPacking: false
38 ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
39 IncludeBlocks: Regroup
40 IncludeCategories:
41 - Regex: '^<[a-z0-9_]+>$'
42 Priority: 3
43 - Regex: '^<(assert|complex|ctype|errno|fenv|float|inttypes|iso646|limits|locale|math|setjmp|signal|stdalign|stdarg|stdatomic|stdbool|stddef|stdint|stdio|stdlib|stdnoreturn|string|tgmath|threads|time|uchar|wchar|wctype)\.h>$'
44 Priority: 3
45 - Regex: '^<'
46 Priority: 3
47 - Regex: '^["<](kodi|p8-platform)\/.*\.h[">]$'
48 Priority: 2
49 - Regex: '.*'
50 Priority: 1
51 IncludeIsMainRegex: '$'
52 IndentCaseLabels: true
53 IndentWidth: 2
54 IndentWrappedFunctionNames: false
55 JavaScriptQuotes: Leave
56 JavaScriptWrapImports: true
57 KeepEmptyLinesAtTheStartOfBlocks: true
58 MacroBlockBegin: ''
59 MacroBlockEnd: ''
60 MaxEmptyLinesToKeep: 2
61 NamespaceIndentation: None
62 ObjCBlockIndentWidth: 2
63 ObjCSpaceAfterProperty: false
64 ObjCSpaceBeforeProtocolList: true
65 PenaltyBreakBeforeFirstCallParameter: 19
66 PenaltyBreakComment: 300
67 PenaltyBreakFirstLessLess: 120
68 PenaltyBreakString: 1000
69 PenaltyExcessCharacter: 1000000
70 PenaltyReturnTypeOnItsOwnLine: 60000
71 PointerAlignment: Left
72 ReflowComments: false
73 SortIncludes: true
74 SpaceAfterCStyleCast: false
75 SpaceAfterTemplateKeyword: false
76 SpaceBeforeAssignmentOperators: true
77 SpaceBeforeParens: ControlStatements
78 SpaceInEmptyParentheses: false
79 SpacesBeforeTrailingComments: 1
80 SpacesInAngles: false
81 SpacesInContainerLiterals: true
82 SpacesInCStyleCastParentheses: false
83 SpacesInParentheses: false
84 SpacesInSquareBrackets: false
85 Standard: Cpp11
86 TabWidth: 8
87 UseTab: Never
88 ...