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