Fix: lttng-ctl: public session.h control API: restore 0 success return value
[lttng-tools.git] / .clang-format
1 AlignAfterOpenBracket: DontAlign
2 AlignConsecutiveAssignments: false
3 AlignConsecutiveDeclarations: false
4 AlignEscapedNewlines: Left
5 AlignOperands: true
6 AlignTrailingComments: false
7 AllowShortBlocksOnASingleLine: false
8 AllowShortCaseLabelsOnASingleLine: false
9 AllowShortFunctionsOnASingleLine: None
10 AllowShortIfStatementsOnASingleLine: false
11 AllowShortLoopsOnASingleLine: false
12 AlwaysBreakAfterReturnType: None
13 AlwaysBreakBeforeMultilineStrings: false
14 BinPackArguments: true
15 BinPackParameters: false
16 BraceWrapping:
17 AfterControlStatement: false
18 AfterEnum: false
19 AfterFunction: true
20 AfterNamespace: true
21 AfterStruct: false
22 AfterUnion: false
23 AfterExternBlock: false
24 BeforeCatch: false
25 BeforeElse: false
26 IndentBraces: false
27 SplitEmptyFunction: true
28 BreakBeforeBinaryOperators: None
29 BreakBeforeBraces: Custom
30 BreakBeforeTernaryOperators: false
31 BreakStringLiterals: false
32 ColumnLimit: 80
33 ContinuationIndentWidth: 16
34 DerivePointerAlignment: false
35 DisableFormat: false
36 ForEachMacros:
37 - 'cds_lfht_for_each_entry'
38 - 'cds_lfht_for_each_entry_safe'
39 - 'cds_lfht_for_each_duplicate'
40 - 'cds_list_for_each_entry'
41 - 'cds_list_for_each_entry_safe'
42
43 IncludeBlocks: Preserve
44 IncludeCategories:
45 - Regex: '.*'
46 Priority: 1
47 IncludeIsMainRegex: '(Test)?$'
48 IndentCaseLabels: false
49 IndentPPDirectives: None
50 IndentWidth: 8
51 IndentWrappedFunctionNames: false
52 KeepEmptyLinesAtTheStartOfBlocks: false
53 MacroBlockBegin: ''
54 MacroBlockEnd: ''
55 MaxEmptyLinesToKeep: 1
56
57 # Taken from git's rules
58 PenaltyBreakAssignment: 10
59 PenaltyBreakBeforeFirstCallParameter: 30
60 PenaltyBreakComment: 10
61 PenaltyBreakString: 10
62 PenaltyExcessCharacter: 100
63 PenaltyReturnTypeOnItsOwnLine: 60
64
65 PointerAlignment: Right
66 ReflowComments: true
67 SortIncludes: true
68 SpaceAfterCStyleCast: true
69 SpaceBeforeAssignmentOperators: true
70 SpaceBeforeParens: ControlStatements
71 SpaceInEmptyParentheses: false
72 SpacesBeforeTrailingComments: 1
73 SpacesInContainerLiterals: false
74 SpacesInCStyleCastParentheses: false
75 SpacesInParentheses: false
76 SpacesInSquareBrackets: false
77 Standard: Cpp11
78 TabWidth: 8
79 UseTab: Always
80 ...
This page took 0.030532 seconds and 4 git commands to generate.