Debian Codegraph @

Source/.clang-format

raw
1 ---
2 # Global config for all languages
3 AccessModifierOffset: -2
4 AlignAfterOpenBracket: Align
5 AlignConsecutiveAssignments: false
6 AlignConsecutiveDeclarations: false
7 AlignEscapedNewlines: Right
8 AlignOperands: true
9 AlignTrailingComments: true
10 AllowAllParametersOfDeclarationOnNextLine: true
11 AllowShortBlocksOnASingleLine: Never
12 AllowShortCaseLabelsOnASingleLine: false
13 AllowShortFunctionsOnASingleLine: InlineOnly
14 AllowShortIfStatementsOnASingleLine: false
15 AllowShortLoopsOnASingleLine: false
16 AlwaysBreakAfterDefinitionReturnType: None
17 AlwaysBreakAfterReturnType: None
18 AlwaysBreakBeforeMultilineStrings: false
19 BreakTemplateDeclarations: Yes
20 BinPackArguments: true
21 BinPackParameters: true
22 BraceWrapping:
23 AfterCaseLabel: true
24 AfterClass: true
25 AfterControlStatement: true
26 AfterEnum: true
27 AfterFunction: true
28 AfterNamespace: true
29 AfterStruct: true
30 AfterUnion: true
31 BeforeCatch: true
32 BeforeElse: true
33 IndentBraces: false
34 BreakBeforeBinaryOperators: None
35 BreakBeforeBraces: Custom
36 BreakBeforeTernaryOperators: false
37 BreakConstructorInitializersBeforeComma: false
38 ColumnLimit: 100
39 CommentPragmas: '^ (IWYU pragma:|NOLINT)'
40 ConstructorInitializerAllOnOneLineOrOnePerLine: false
41 ConstructorInitializerIndentWidth: 4
42 ContinuationIndentWidth: 4
43 Cpp11BracedListStyle: true
44 DerivePointerAlignment: false
45 DisableFormat: false
46 ForEachMacros: []
47 IncludeCategories:
48 - Regex: '^<[Ww]indows\.h>$'
49 Priority: 1
50 - Regex: '^<'
51 Priority: 2
52 - Regex: '^"'
53 Priority: 3
54 IndentCaseLabels: false
55 IndentWidth: 2
56 IndentWrappedFunctionNames: false
57 InsertNewlineAtEOF: true
58 KeepEmptyLinesAtTheStartOfBlocks: false
59 MacroBlockBegin: ''
60 MacroBlockEnd: ''
61 MaxEmptyLinesToKeep: 1
62 NamespaceIndentation: None
63 PenaltyBreakBeforeFirstCallParameter: 19
64 PenaltyBreakComment: 300
65 PenaltyBreakFirstLessLess: 120
66 PenaltyBreakString: 1000
67 PenaltyExcessCharacter: 1000000
68 PenaltyReturnTypeOnItsOwnLine: 60
69 PointerAlignment: Left
70 ReflowComments: true
71 RemoveSemicolon: true
72 RequiresClausePosition: WithPreceding
73 SortIncludes: CaseSensitive
74 SpaceAfterCStyleCast: false
75 SpaceBeforeAssignmentOperators: true
76 SpaceBeforeParens: ControlStatements
77 SpaceInEmptyParentheses: false
78 SpacesBeforeTrailingComments: 2
79 SpacesInAngles: false
80 SpacesInContainerLiterals: true
81 SpacesInCStyleCastParentheses: false
82 SpacesInParentheses: false
83 SpacesInSquareBrackets: false
84 Standard: Latest
85 StatementAttributeLikeMacros:
86 - emit
87 TabWidth: 2
88 UseTab: Never
89 ---
90 # C++ Specific Config
91 Language: Cpp
92 ---
93 # Objective-C Specific Config
94 Language: ObjC
95 ObjCBlockIndentWidth: 2
96 ObjCSpaceAfterProperty: false
97 ObjCSpaceBeforeProtocolList: true
98 BraceWrapping:
99 AfterObjCDeclaration: true
100 ...