Debian Codegraph @

.clang-format

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