Debian Codegraph @

.clang-format

raw
1 ---
2 # Compatible with clang-format 6.0.0
3 Language: Cpp
4 # BasedOnStyle: Google
5 AccessModifierOffset: -4
6 AlignAfterOpenBracket: AlwaysBreak
7 AlignConsecutiveAssignments: false
8 AlignConsecutiveDeclarations: false
9 AlignEscapedNewlines: Left
10 AlignOperands: true
11 AlignTrailingComments: true
12 AllowAllParametersOfDeclarationOnNextLine: true
13 AllowShortBlocksOnASingleLine: Empty
14 AllowShortCaseLabelsOnASingleLine: true
15 AllowShortFunctionsOnASingleLine: Inline
16 AllowShortIfStatementsOnASingleLine: false
17 AllowShortLoopsOnASingleLine: false
18 AlwaysBreakAfterDefinitionReturnType: None
19 AlwaysBreakAfterReturnType: None
20 AlwaysBreakBeforeMultilineStrings: true
21 AlwaysBreakTemplateDeclarations: MultiLine
22 BinPackArguments: true
23 BinPackParameters: true
24 BraceWrapping:
25 AfterClass: false
26 AfterControlStatement: false
27 AfterEnum: false
28 AfterFunction: false
29 AfterNamespace: false
30 AfterObjCDeclaration: false
31 AfterStruct: false
32 AfterUnion: false
33 AfterExternBlock: false
34 BeforeCatch: false
35 BeforeElse: false
36 IndentBraces: false
37 SplitEmptyFunction: true
38 SplitEmptyRecord: true
39 SplitEmptyNamespace: true
40 BreakBeforeBinaryOperators: None
41 BreakBeforeBraces: Allman
42 BreakBeforeInheritanceComma: false
43 BreakBeforeTernaryOperators: true
44 BreakConstructorInitializersBeforeComma: false
45 BreakConstructorInitializers: AfterColon
46 BreakAfterJavaFieldAnnotations: false
47 BreakStringLiterals: true
48 ColumnLimit: 80
49 CommentPragmas: '^ IWYU pragma:'
50 CompactNamespaces: false
51 ConstructorInitializerAllOnOneLineOrOnePerLine: false
52 ConstructorInitializerIndentWidth: 4
53 ContinuationIndentWidth: 4
54 Cpp11BracedListStyle: true
55 DerivePointerAlignment: false
56 DisableFormat: false
57 ExperimentalAutoDetectBinPacking: false
58 FixNamespaceComments: true
59 ForEachMacros:
60 - foreach
61 - Q_FOREACH
62 - BOOST_FOREACH
63 IncludeBlocks: Preserve
64 IncludeCategories:
65 - Regex: '^<ext/.*\.h>'
66 Priority: 2
67 - Regex: '^<.*\.h>'
68 Priority: 1
69 - Regex: '^<.*'
70 Priority: 2
71 - Regex: '.*'
72 Priority: 3
73 IncludeIsMainRegex: '([-_](test|unittest))?$'
74 IndentCaseLabels: true
75 IndentPPDirectives: None
76 IndentWidth: 4
77 IndentWrappedFunctionNames: false
78 JavaScriptQuotes: Leave
79 JavaScriptWrapImports: true
80 KeepEmptyLinesAtTheStartOfBlocks: false
81 MacroBlockBegin: ''
82 MacroBlockEnd: ''
83 MaxEmptyLinesToKeep: 1
84 NamespaceIndentation: None
85 ObjCBlockIndentWidth: 2
86 ObjCSpaceAfterProperty: false
87 ObjCSpaceBeforeProtocolList: false
88 PenaltyBreakAssignment: 2
89 PenaltyBreakBeforeFirstCallParameter: 1
90 PenaltyBreakComment: 300
91 PenaltyBreakFirstLessLess: 120
92 PenaltyBreakString: 1000
93 PenaltyExcessCharacter: 1000000
94 PenaltyReturnTypeOnItsOwnLine: 200
95 PointerAlignment: Left
96 RawStringFormats:
97 - Delimiters: [ 'pb' ]
98 Language: TextProto
99 BasedOnStyle: google
100 ReflowComments: true
101 SortIncludes: CaseSensitive
102 SortUsingDeclarations: true
103 SpaceAfterCStyleCast: false
104 SpaceAfterTemplateKeyword: true
105 SpaceBeforeAssignmentOperators: true
106 SpaceBeforeParens: ControlStatements
107 SpaceInEmptyParentheses: false
108 SpacesBeforeTrailingComments: 2
109 SpacesInAngles: false
110 SpacesInContainerLiterals: true
111 SpacesInCStyleCastParentheses: false
112 SpacesInParentheses: false
113 SpacesInSquareBrackets: false
114 Standard: c++20
115 TabWidth: 4
116 UseTab: Never
117 ...