Debian Codegraph @

.clang-format

raw
1 # This file has been generated with this command
2 # clang-format -style="{BasedOnStyle: llvm, ColumnLimit: 120, IndentWidth: 4, Standard: Cpp11, PointerBindsToType: false, BreakBeforeBraces: Linux, BreakConstructorInitializersBeforeComma: true, AccessModifierOffset: -4, BreakBeforeBinaryOperators: true}" -dump-config > .clang-format
3 ---
4 Language: Cpp
5 AccessModifierOffset: -4
6 AlignAfterOpenBracket: Align
7 AlignConsecutiveAssignments: false
8 AlignConsecutiveDeclarations: false
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: None
19 AlwaysBreakAfterReturnType: None
20 AlwaysBreakBeforeMultilineStrings: false
21 AlwaysBreakTemplateDeclarations: false
22 BinPackArguments: true
23 BinPackParameters: true
24 BraceWrapping:
25 AfterClass: true
26 AfterControlStatement: false
27 AfterEnum: false
28 AfterFunction: true
29 AfterNamespace: true
30 AfterObjCDeclaration: false
31 AfterStruct: false
32 AfterUnion: false
33 AfterExternBlock: false
34 BeforeCatch: false
35 BeforeElse: false
36 IndentBraces: false
37 SplitEmptyFunction: true
38 SplitEmptyRecord: true
39 SplitEmptyNamespace: true
40 BreakBeforeBinaryOperators: All
41 BreakBeforeBraces: Linux
42 BreakBeforeInheritanceComma: false
43 BreakBeforeTernaryOperators: true
44 BreakConstructorInitializersBeforeComma: false
45 BreakConstructorInitializers: BeforeComma
46 BreakAfterJavaFieldAnnotations: false
47 BreakStringLiterals: true
48 ColumnLimit: 120
49 CommentPragmas: '^ IWYU pragma:'
50 CompactNamespaces: false
51 ConstructorInitializerAllOnOneLineOrOnePerLine: false
52 ConstructorInitializerIndentWidth: 4
53 ContinuationIndentWidth: 4
54 Cpp11BracedListStyle: true
55 DerivePointerAlignment: false
56 DisableFormat: false
57 ExperimentalAutoDetectBinPacking: false
58 FixNamespaceComments: true
59 ForEachMacros:
60 - foreach
61 - Q_FOREACH
62 - BOOST_FOREACH
63 IncludeBlocks: Preserve
64 IncludeCategories:
65 - Regex: '^"(llvm|llvm-c|clang|clang-c)/'
66 Priority: 2
67 - Regex: '^(<|"(gtest|gmock|isl|json)/)'
68 Priority: 3
69 - Regex: '.*'
70 Priority: 1
71 IncludeIsMainRegex: '(Test)?$'
72 IndentCaseLabels: false
73 IndentPPDirectives: None
74 IndentWidth: 4
75 IndentWrappedFunctionNames: false
76 JavaScriptQuotes: Leave
77 JavaScriptWrapImports: true
78 KeepEmptyLinesAtTheStartOfBlocks: true
79 MacroBlockBegin: ''
80 MacroBlockEnd: ''
81 MaxEmptyLinesToKeep: 1
82 NamespaceIndentation: None
83 ObjCBlockIndentWidth: 2
84 ObjCSpaceAfterProperty: false
85 ObjCSpaceBeforeProtocolList: true
86 PenaltyBreakAssignment: 2
87 PenaltyBreakBeforeFirstCallParameter: 19
88 PenaltyBreakComment: 300
89 PenaltyBreakFirstLessLess: 120
90 PenaltyBreakString: 1000
91 PenaltyExcessCharacter: 1000000
92 PenaltyReturnTypeOnItsOwnLine: 60
93 PointerAlignment: Right
94 RawStringFormats:
95 - Delimiter: pb
96 Language: TextProto
97 BasedOnStyle: google
98 ReflowComments: true
99 SortIncludes: true
100 SortUsingDeclarations: true
101 SpaceAfterCStyleCast: false
102 SpaceAfterTemplateKeyword: true
103 SpaceBeforeAssignmentOperators: true
104 SpaceBeforeParens: ControlStatements
105 SpaceInEmptyParentheses: false
106 SpacesBeforeTrailingComments: 1
107 SpacesInAngles: false
108 SpacesInContainerLiterals: true
109 SpacesInCStyleCastParentheses: false
110 SpacesInParentheses: false
111 SpacesInSquareBrackets: false
112 Standard: Cpp11
113 TabWidth: 8
114 UseTab: Never
115 ...
116