Debian Codegraph @

.clang-format

raw
1 ---
2 Language: Cpp
3 # BasedOnStyle: LLVM
4 AccessModifierOffset: -4
5 AlignAfterOpenBracket: Align
6 AlignConsecutiveAssignments: false
7 AlignConsecutiveDeclarations: false
8 AlignEscapedNewlinesLeft: false
9 AlignOperands: true
10 AlignTrailingComments: true
11 AllowAllParametersOfDeclarationOnNextLine: true
12 AllowShortBlocksOnASingleLine: false
13 AllowShortCaseLabelsOnASingleLine: false
14 AllowShortFunctionsOnASingleLine: None
15 AllowShortIfStatementsOnASingleLine: false
16 AllowShortLoopsOnASingleLine: false
17 AlwaysBreakAfterDefinitionReturnType: None
18 AlwaysBreakAfterReturnType: None
19 AlwaysBreakBeforeMultilineStrings: false
20 AlwaysBreakTemplateDeclarations: false
21 BinPackArguments: false
22 BinPackParameters: false
23 BraceWrapping:
24 AfterClass: false
25 AfterControlStatement: false
26 AfterEnum: false
27 AfterFunction: false
28 AfterNamespace: false
29 AfterObjCDeclaration: false
30 AfterStruct: false
31 AfterUnion: false
32 BeforeCatch: false
33 BeforeElse: false
34 IndentBraces: false
35 BreakBeforeBinaryOperators: None
36 BreakBeforeBraces: Attach
37 BreakBeforeTernaryOperators: true
38 BreakConstructorInitializersBeforeComma: false
39 BreakStringLiterals: false
40 ColumnLimit: 80
41 CommentPragmas: '^ IWYU pragma:'
42 ConstructorInitializerAllOnOneLineOrOnePerLine: false
43 ConstructorInitializerIndentWidth: 4
44 ContinuationIndentWidth: 4
45 Cpp11BracedListStyle: true
46 DerivePointerAlignment: false
47 DisableFormat: false
48 ExperimentalAutoDetectBinPacking: false
49 ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
50 IncludeCategories:
51 - Regex: '^"(llvm|llvm-c|clang|clang-c)/'
52 Priority: 2
53 - Regex: '^(<|"(gtest|isl|json)/)'
54 Priority: 3
55 - Regex: '.*'
56 Priority: 1
57 IndentCaseLabels: true
58 IndentWidth: 4
59 IndentWrappedFunctionNames: false
60 KeepEmptyLinesAtTheStartOfBlocks: true
61 MacroBlockBegin: ''
62 MacroBlockEnd: ''
63 MaxEmptyLinesToKeep: 1
64 NamespaceIndentation: None
65 ObjCBlockIndentWidth: 4
66 ObjCSpaceAfterProperty: false
67 ObjCSpaceBeforeProtocolList: true
68 PenaltyBreakBeforeFirstCallParameter: 19
69 PenaltyBreakComment: 300
70 PenaltyBreakFirstLessLess: 120
71 PenaltyBreakString: 1000
72 PenaltyExcessCharacter: 1000000
73 PenaltyReturnTypeOnItsOwnLine: 60
74 PointerAlignment: Right
75 ReflowComments: false
76 SortIncludes: false
77 SpaceAfterCStyleCast: false
78 SpaceBeforeAssignmentOperators: true
79 SpaceBeforeParens: ControlStatements
80 SpaceInEmptyParentheses: false
81 SpacesBeforeTrailingComments: 1
82 SpacesInAngles: false
83 SpacesInContainerLiterals: true
84 SpacesInCStyleCastParentheses: false
85 SpacesInParentheses: false
86 SpacesInSquareBrackets: false
87 Standard: Cpp11
88 TabWidth: 4
89 UseTab: Always
90 ...
91