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: '<EGL/.*\.h>'
42 Priority: 6
43 - Regex: '(["/]PlatformDefs|"(system|system_gl|system_egl))\.h"'
44 Priority: 5
45 - Regex: '"platform/[^/]+/'
46 Priority: 2
47 - Regex: '^<[a-z0-9_]+>$'
48 Priority: 3
49 - 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>$'
50 Priority: 3
51 - Regex: '^<'
52 Priority: 4
53 - Regex: '.*'
54 Priority: 1
55 IncludeIsMainRegex: '$'
56 IndentCaseLabels: true
57 IndentWidth: 2
58 IndentWrappedFunctionNames: false
59 JavaScriptQuotes: Leave
60 JavaScriptWrapImports: true
61 KeepEmptyLinesAtTheStartOfBlocks: true
62 MacroBlockBegin: ''
63 MacroBlockEnd: ''
64 MaxEmptyLinesToKeep: 1
65 NamespaceIndentation: None
66 ObjCBlockIndentWidth: 2
67 ObjCSpaceAfterProperty: false
68 ObjCSpaceBeforeProtocolList: true
69 PenaltyBreakBeforeFirstCallParameter: 19
70 PenaltyBreakComment: 300
71 PenaltyBreakFirstLessLess: 120
72 PenaltyBreakString: 1000
73 PenaltyExcessCharacter: 1000000
74 PenaltyReturnTypeOnItsOwnLine: 60000
75 PointerAlignment: Left
76 ReflowComments: false
77 SortIncludes: true
78 SpaceAfterCStyleCast: false
79 SpaceAfterTemplateKeyword: false
80 SpaceBeforeAssignmentOperators: true
81 SpaceBeforeParens: ControlStatements
82 SpaceInEmptyParentheses: false
83 SpacesBeforeTrailingComments: 1
84 SpacesInAngles: false
85 SpacesInContainerLiterals: true
86 SpacesInCStyleCastParentheses: false
87 SpacesInParentheses: false
88 SpacesInSquareBrackets: false
89 Standard: Cpp11
90 TabWidth: 8
91 UseTab: Never
92 ...