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