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