Debian Codegraph @

.clang-format

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