tests: Execute perl using /usr/bin/env
[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
1847c92b 20BreakBeforeBraces: Custom
47aa4f7b 21BreakConstructorInitializers: AfterColon
3aa937ab
JG
22BraceWrapping:
23 AfterControlStatement: false
24 AfterEnum: false
25 AfterFunction: true
47aa4f7b 26 AfterNamespace: false
3aa937ab
JG
27 AfterStruct: false
28 AfterUnion: false
29 AfterExternBlock: false
1847c92b 30 AfterCaseLabel: true
3aa937ab
JG
31 BeforeCatch: false
32 BeforeElse: false
33 IndentBraces: false
34 SplitEmptyFunction: true
35BreakBeforeBinaryOperators: None
3aa937ab 36BreakBeforeTernaryOperators: false
47aa4f7b 37BreakConstructorInitializers: AfterColon
3aa937ab 38BreakStringLiterals: false
47aa4f7b
JG
39ColumnLimit: 100
40ConstructorInitializerAllOnOneLineOrOnePerLine: true
41ConstructorInitializerIndentWidth: 8
20364ea3
JG
42ContinuationIndentWidth: 8
43Cpp11BracedListStyle: false
3aa937ab
JG
44DerivePointerAlignment: false
45DisableFormat: false
47aa4f7b 46EmptyLineBeforeAccessModifier: LogicalBlock
20364ea3 47FixNamespaceComments: true
3aa937ab
JG
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
20364ea3 55IncludeBlocks: Regroup
3aa937ab 56IncludeCategories:
20364ea3
JG
57 - Regex: '".*"'
58 Priority: 0
59 - Regex: '<common/.*>'
3aa937ab 60 Priority: 1
20364ea3
JG
61 - Regex: '<lttng/.*>'
62 Priority: 2
63 - Regex: '<vendor/.*>'
64 Priority: 3
65 - Regex: '<.*>'
66 Priority: 9
67
3aa937ab
JG
68IncludeIsMainRegex: '(Test)?$'
69IndentCaseLabels: false
70IndentPPDirectives: None
71IndentWidth: 8
72IndentWrappedFunctionNames: false
73KeepEmptyLinesAtTheStartOfBlocks: false
74MacroBlockBegin: ''
75MacroBlockEnd: ''
76MaxEmptyLinesToKeep: 1
47aa4f7b 77NamespaceIndentation: None
3aa937ab
JG
78
79# Taken from git's rules
80PenaltyBreakAssignment: 10
81PenaltyBreakBeforeFirstCallParameter: 30
82PenaltyBreakComment: 10
83PenaltyBreakString: 10
84PenaltyExcessCharacter: 100
85PenaltyReturnTypeOnItsOwnLine: 60
86
87PointerAlignment: Right
47aa4f7b 88ReferenceAlignment: Left
3aa937ab
JG
89ReflowComments: true
90SortIncludes: true
91SpaceAfterCStyleCast: true
92SpaceBeforeAssignmentOperators: true
93SpaceBeforeParens: ControlStatements
94SpaceInEmptyParentheses: false
95SpacesBeforeTrailingComments: 1
96SpacesInContainerLiterals: false
97SpacesInCStyleCastParentheses: false
98SpacesInParentheses: false
99SpacesInSquareBrackets: false
100Standard: Cpp11
101TabWidth: 8
102UseTab: Always
103...
This page took 0.036302 seconds and 5 git commands to generate.