Debian Codegraph @

.clang-format

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