Debian Codegraph @

.clang-format

raw
1 ---
2 Language: Cpp
3 # BasedOnStyle: LLVM
4 AccessModifierOffset: -2
5 AlignAfterOpenBracket: Align
6 #AlignArrayOfStructures: Right
7 AlignConsecutiveAssignments: true
8 AlignConsecutiveDeclarations: true
9 AlignEscapedNewlines: Right
10 AlignOperands: true
11 AlignTrailingComments: true
12 AllowAllParametersOfDeclarationOnNextLine: true
13 AllowShortBlocksOnASingleLine: false
14 AllowShortCaseLabelsOnASingleLine: false
15 AllowShortFunctionsOnASingleLine: All
16 AllowShortIfStatementsOnASingleLine: false
17 AllowShortLoopsOnASingleLine: false
18 AlwaysBreakAfterDefinitionReturnType: All
19 AlwaysBreakAfterReturnType: All
20 AlwaysBreakBeforeMultilineStrings: false
21 AlwaysBreakTemplateDeclarations: true
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 BeforeCatch: false
34 BeforeElse: false
35 IndentBraces: false
36 SplitEmptyFunction: true
37 SplitEmptyRecord: true
38 SplitEmptyNamespace: true
39 BreakBeforeBinaryOperators: None
40 BreakBeforeBraces: WebKit
41 BreakBeforeInheritanceComma: false
42 BreakBeforeTernaryOperators: true
43 BreakConstructorInitializersBeforeComma: false
44 BreakConstructorInitializers: BeforeColon
45 BreakAfterJavaFieldAnnotations: false
46 BreakStringLiterals: true
47 ColumnLimit: 80
48 CommentPragmas: '^ IWYU pragma:'
49 CompactNamespaces: false
50 ConstructorInitializerAllOnOneLineOrOnePerLine: false
51 ConstructorInitializerIndentWidth: 4
52 ContinuationIndentWidth: 4
53 Cpp11BracedListStyle: true
54 DerivePointerAlignment: false
55 DisableFormat: false
56 ExperimentalAutoDetectBinPacking: false
57 FixNamespaceComments: true
58 ForEachMacros:
59 - foreach
60 - Q_FOREACH
61 - BOOST_FOREACH
62 IncludeCategories:
63 - Regex: '^"(llvm|llvm-c|clang|clang-c)/'
64 Priority: 2
65 - Regex: '^(<|"(gtest|gmock|isl|json)/)'
66 Priority: 3
67 - Regex: '.*'
68 Priority: 1
69 IncludeIsMainRegex: '(Test)?$'
70 IndentCaseLabels: false
71 IndentPPDirectives: BeforeHash
72 IndentWidth: 2
73 IndentWrappedFunctionNames: false
74 JavaScriptQuotes: Leave
75 JavaScriptWrapImports: true
76 KeepEmptyLinesAtTheStartOfBlocks: true
77 MacroBlockBegin: ''
78 MacroBlockEnd: ''
79 MaxEmptyLinesToKeep: 1
80 NamespaceIndentation: None
81 ObjCBlockIndentWidth: 2
82 ObjCSpaceAfterProperty: false
83 ObjCSpaceBeforeProtocolList: true
84 PenaltyBreakAssignment: 2
85 PenaltyBreakBeforeFirstCallParameter: 19
86 PenaltyBreakComment: 300
87 PenaltyBreakFirstLessLess: 120
88 PenaltyBreakString: 1000
89 PenaltyExcessCharacter: 1000000
90 PenaltyReturnTypeOnItsOwnLine: 60
91 PointerAlignment: Right
92 ReflowComments: true
93 SortIncludes: true
94 SortUsingDeclarations: true
95 SpaceAfterCStyleCast: false
96 SpaceAfterTemplateKeyword: true
97 SpaceBeforeAssignmentOperators: true
98 SpaceBeforeParens: ControlStatements
99 SpaceInEmptyParentheses: false
100 SpacesBeforeTrailingComments: 1
101 SpacesInAngles: false
102 SpacesInContainerLiterals: true
103 SpacesInCStyleCastParentheses: false
104 SpacesInParentheses: false
105 SpacesInSquareBrackets: false
106 #Standard: c++17
107 TabWidth: 4
108 UseTab: Never
109 ...