Tests: Fix: Use '.logfile' instead of '.log' for test app output
[lttng-tools.git] / .clang-format
... / ...
CommitLineData
1AccessModifierOffset: -8
2AlignAfterOpenBracket: Align
3AlignConsecutiveAssignments: false
4AlignConsecutiveDeclarations: false
5AlignConsecutiveMacros: Consecutive
6AlignEscapedNewlines: Left
7AlignOperands: false
8AlignTrailingComments: false
9AllowAllConstructorInitializersOnNextLine: true
10AllowShortBlocksOnASingleLine: false
11AllowShortCaseLabelsOnASingleLine: false
12AllowShortFunctionsOnASingleLine: None
13AllowShortIfStatementsOnASingleLine: false
14AllowShortLoopsOnASingleLine: false
15AlwaysBreakAfterReturnType: None
16AlwaysBreakBeforeMultilineStrings: false
17AlwaysBreakTemplateDeclarations: Yes
18BinPackArguments: false
19BinPackParameters: false
20BitFieldColonSpacing: None
21BreakBeforeBraces: Custom
22BreakConstructorInitializers: AfterColon
23BraceWrapping:
24 AfterControlStatement: false
25 AfterEnum: false
26 AfterFunction: true
27 AfterNamespace: false
28 AfterStruct: false
29 AfterUnion: false
30 AfterExternBlock: false
31 AfterCaseLabel: true
32 BeforeCatch: false
33 BeforeElse: false
34 IndentBraces: false
35 SplitEmptyFunction: true
36BreakBeforeBinaryOperators: None
37BreakBeforeTernaryOperators: false
38BreakStringLiterals: false
39ColumnLimit: 100
40ConstructorInitializerAllOnOneLineOrOnePerLine: true
41ConstructorInitializerIndentWidth: 8
42ContinuationIndentWidth: 8
43Cpp11BracedListStyle: false
44DerivePointerAlignment: false
45DisableFormat: false
46EmptyLineBeforeAccessModifier: LogicalBlock
47FixNamespaceComments: true
48ForEachMacros:
49 - 'cds_lfht_for_each_entry'
50 - 'cds_lfht_for_each_entry_safe'
51 - 'cds_lfht_for_each_duplicate'
52 - 'cds_list_for_each_entry'
53 - 'cds_list_for_each_entry_safe'
54 - 'for_each_action_mutable'
55 - 'for_each_action_const'
56 - 'cds_wfs_for_each_blocking_safe'
57
58IncludeBlocks: Regroup
59IncludeCategories:
60 - Regex: '".*"'
61 Priority: 0
62 - Regex: '<common/.*>'
63 Priority: 1
64 - Regex: '<lttng/.*>'
65 Priority: 2
66 - Regex: '<vendor/.*>'
67 Priority: 3
68 - Regex: '<.*>'
69 Priority: 9
70
71IncludeIsMainRegex: '(Test)?$'
72IndentCaseLabels: false
73IndentPPDirectives: None
74IndentWidth: 8
75IndentWrappedFunctionNames: false
76KeepEmptyLinesAtTheStartOfBlocks: false
77MacroBlockBegin: ''
78MacroBlockEnd: ''
79MaxEmptyLinesToKeep: 1
80NamespaceIndentation: None
81
82# Taken from git's rules
83PenaltyBreakAssignment: 10
84PenaltyBreakBeforeFirstCallParameter: 30
85PenaltyBreakComment: 10
86PenaltyBreakString: 10
87PenaltyExcessCharacter: 100
88PenaltyReturnTypeOnItsOwnLine: 60
89
90PointerAlignment: Right
91ReferenceAlignment: Left
92ReflowComments: true
93SortIncludes: true
94SpaceAfterCStyleCast: true
95SpaceBeforeAssignmentOperators: true
96SpaceBeforeParens: ControlStatements
97SpaceInEmptyParentheses: false
98SpacesBeforeTrailingComments: 1
99SpacesInContainerLiterals: false
100SpacesInCStyleCastParentheses: false
101SpacesInParentheses: false
102SpacesInSquareBrackets: false
103Standard: Cpp11
104TabWidth: 8
105UseTab: Always
106QualifierAlignment: Left
107...
This page took 0.031966 seconds and 5 git commands to generate.