Debian Codegraph @

test/.clang-format

raw
1 # for use with clang-format version 9 or higher
2
3 # put this in the root source directory, then call: clang-format -i -style=file <sources>
4
5 Language: Cpp
6 Standard: Cpp11
7 BasedOnStyle: WebKit
8 IndentWidth: 4
9
10 AccessModifierOffset: -3
11 AlignAfterOpenBracket: AlwaysBreak
12 AlignConsecutiveAssignments: false
13 AlignConsecutiveDeclarations: false
14 AlignOperands: false
15 AllowShortBlocksOnASingleLine: true
16 AllowShortCaseLabelsOnASingleLine : true
17 AllowShortFunctionsOnASingleLine: Inline
18 AllowShortIfStatementsOnASingleLine: false
19 AllowShortLambdasOnASingleLine: All
20 AllowShortLoopsOnASingleLine: false
21 AlwaysBreakAfterReturnType: None
22 BinPackArguments: true
23 BinPackParameters: true
24 BreakBeforeBinaryOperators: NonAssignment
25 BreakBeforeBraces: Custom
26 BreakConstructorInitializers: BeforeComma
27 BraceWrapping:
28 AfterCaseLabel: false
29 AfterEnum: false
30 AfterFunction: true
31 SplitEmptyFunction: true
32 ColumnLimit: 100
33 CommentPragmas: \/\/!
34 ConstructorInitializerAllOnOneLineOrOnePerLine: true
35 ConstructorInitializerIndentWidth: 4
36 ContinuationIndentWidth: 4
37 Cpp11BracedListStyle: true
38 DerivePointerAlignment: false
39 FixNamespaceComments: false
40 IndentCaseLabels: true
41 IndentWrappedFunctionNames: false
42 MaxEmptyLinesToKeep: 2
43 NamespaceIndentation: None
44 PenaltyBreakAssignment: 10
45 PenaltyBreakBeforeFirstCallParameter: 33
46 PenaltyBreakFirstLessLess: 3
47 PenaltyBreakString: 120
48 PenaltyBreakTemplateDeclaration: 0
49 PenaltyReturnTypeOnItsOwnLine: 1000
50 PointerAlignment: Left
51 SpaceBeforeCpp11BracedList: false
52 SpaceBeforeParens: ControlStatements
53 SpaceInEmptyParentheses: false
54 SpacesBeforeTrailingComments: 1
55 SpacesInAngles: false
56 UseTab: Never