Debian Codegraph @

.clang-format

raw
1 ---
2 BasedOnStyle: LLVM
3 AlignConsecutiveAssignments: true
4 BraceWrapping:
5 AfterFunction: true
6 #llvm10-11: AfterControlStatement: false - Never
7 BeforeCatch: true
8 BeforeElse: true
9 #llvm11: BeforeLambdaBody: false
10 #llvm11: BeforeWhile: false
11 BreakBeforeBraces: Stroustrup
12 BreakAfterJavaFieldAnnotations: true
13 BreakStringLiterals: true
14 ColumnLimit: 110
15 IndentWidth: 4
16 ---
17 Language: Cpp
18 #llvm11: AlignConsecutiveBitFields: false
19 AlignConsecutiveDeclarations: true
20 AlignConsecutiveMacros: true
21 #llvm10-11: AlignOperands: true - Align
22 #llvm11: AllowShortEnumsOnASingleLine: true
23 AllowShortFunctionsOnASingleLine: None
24 AlwaysBreakAfterReturnType: AllDefinitions
25 # Can enable the following section when llvm 12.x is out
26 #AttributeMacros:
27 IncludeCategories:
28 - Regex: '^"(llvm|llvm-c|clang|clang-c)/'
29 Priority: 3
30 SortPriority: 0
31 - Regex: '^(<|"(gtest|gmock|isl|json)/)'
32 Priority: 4
33 SortPriority: 0
34 - Regex: '.*'
35 Priority: 0
36 SortPriority: 0
37 - Regex: '^H4*.*'
38 Priority: 1
39 SortPriority: 0
40 - Regex: 'private.*'
41 Priority: 2
42 SortPriority: 0
43 IncludeIsMainRegex: '(public)?$'
44 IndentCaseLabels: true
45 #llvm11: IndentCaseBlocks: false
46 IndentGotoLabels: false
47 #llvm11: IndentExternBlock: AfterExternBlock
48 #llvm11: InsertTrailingCommas: None
49 ObjCBlockIndentWidth: 4
50 #llvm11: ObjCBreakBeforeNestedBlockParam: true
51 ReflowComments: true
52 SortIncludes: false
53 #llvm10: TypenameMacros:
54 #llvm10: - STACK_OF
55 #llvm10: - LIST
56 #llvm11: WhitespaceSensitiveMacros:
57 #llvm11: - STRINGIZE
58 #llvm11: - PP_STRINGIZE
59 ---
60 Language: Java
61 BreakAfterJavaFieldAnnotations: true
62 JavaImportGroups: ['java', 'hdf', 'hdf.hdf4lib', 'org']
63 ...