Debian Codegraph @

.clang-format

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