Debian Codegraph @

.clang-format

raw
1 Language: Cpp
2 BasedOnStyle: LLVM
3 AccessModifierOffset: -4
4 # AlignAfterOpenBracket: Align
5 AlignConsecutiveAssignments: true
6 AlignConsecutiveDeclarations: true
7 # AlignEscapedNewlinesLeft: false
8 AlignOperands: true
9 AlignTrailingComments: true
10 # AllowAllArgumentsOnNextLine: true # Requires clang-format v9 and higher
11 # AllowAllConstructorInitializersOnNextLine: false
12 AllowAllParametersOfDeclarationOnNextLine: true
13 AllowShortBlocksOnASingleLine: false
14 # AllowShortCaseLabelsOnASingleLine: false
15 AllowShortFunctionsOnASingleLine: Inline
16 # AllowShortIfStatementsOnASingleLine: false
17 # AllowShortLoopsOnASingleLine: false
18 # AlwaysBreakAfterDefinitionReturnType: None
19 # AlwaysBreakAfterReturnType: None
20 # AlwaysBreakBeforeMultilineStrings: false
21 AlwaysBreakTemplateDeclarations: true
22 BinPackArguments: false
23 BinPackParameters: false
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 # BreakBeforeBinaryOperators: None
37 BreakBeforeBraces: Allman
38 # BreakInheritanceList: BeforeComma
39 # BreakBeforeTernaryOperators: true
40 BreakConstructorInitializers: BeforeComma
41 # BreakAfterJavaFieldAnnotations: false
42 # BreakStringLiterals: true
43 ColumnLimit: 120
44 # CommentPragmas: '^ IWYU pragma:'
45 # ConstructorInitializerAllOnOneLineOrOnePerLine: false
46 # ConstructorInitializerIndentWidth: 4
47 # ContinuationIndentWidth: 4
48 # Cpp11BracedListStyle: true
49 # DerivePointerAlignment: false
50 # DisableFormat: false
51 # ExperimentalAutoDetectBinPacking: false
52 FixNamespaceComments: true
53 # ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
54 # IncludeIsMainRegex: '$'
55 # IndentCaseLabels: false
56 IndentWidth: 4
57 # IndentWrappedFunctionNames: false
58 # JavaScriptQuotes: Leave
59 # JavaScriptWrapImports: true
60 # KeepEmptyLinesAtTheStartOfBlocks: true
61 # MacroBlockBegin: ''
62 # MacroBlockEnd: ''
63 # MaxEmptyLinesToKeep: 1
64 # NamespaceIndentation: None
65 # ObjCBlockIndentWidth: 2
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: Left
75 # ReflowComments: true
76 SortIncludes: false
77 # SpaceAfterCStyleCast: false
78 # SpaceAfterTemplateKeyword: true
79 # SpaceBeforeAssignmentOperators: true
80 SpaceBeforeParens: ControlStatements
81 # SpaceInEmptyParentheses: false
82 # SpacesBeforeTrailingComments: 1
83 # SpacesInAngles: false
84 # SpacesInContainerLiterals: true
85 # SpacesInCStyleCastParentheses: false
86 # SpacesInParentheses: false
87 # SpacesInSquareBrackets: false
88 Standard: Cpp03
89 TabWidth: 4
90 UseTab: Never