docs: Add supported versions and fix-backport policy
[lttng-tools.git] / .clang-format
... / ...
CommitLineData
1AccessModifierOffset: -8
2AlignAfterOpenBracket: DontAlign
3AlignConsecutiveAssignments: false
4AlignConsecutiveDeclarations: false
5AlignEscapedNewlines: Left
6AlignOperands: false
7AlignTrailingComments: false
8AllowAllConstructorInitializersOnNextLine: true
9AllowShortBlocksOnASingleLine: false
10AllowShortCaseLabelsOnASingleLine: false
11AllowShortFunctionsOnASingleLine: None
12AllowShortIfStatementsOnASingleLine: false
13AllowShortLoopsOnASingleLine: false
14AlwaysBreakAfterReturnType: None
15AlwaysBreakBeforeMultilineStrings: false
16AlwaysBreakTemplateDeclarations: Yes
17BinPackArguments: true
18BinPackParameters: false
19BreakBeforeBraces: Custom
20BreakConstructorInitializers: AfterColon
21BraceWrapping:
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
34BreakBeforeBinaryOperators: None
35BreakBeforeTernaryOperators: false
36BreakConstructorInitializers: AfterColon
37BreakStringLiterals: false
38ColumnLimit: 100
39ConstructorInitializerAllOnOneLineOrOnePerLine: true
40ConstructorInitializerIndentWidth: 8
41ContinuationIndentWidth: 16
42DerivePointerAlignment: false
43DisableFormat: false
44EmptyLineBeforeAccessModifier: LogicalBlock
45ForEachMacros:
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
52IncludeBlocks: Preserve
53IncludeCategories:
54 - Regex: '.*'
55 Priority: 1
56IncludeIsMainRegex: '(Test)?$'
57IndentCaseLabels: false
58IndentPPDirectives: None
59IndentWidth: 8
60IndentWrappedFunctionNames: false
61KeepEmptyLinesAtTheStartOfBlocks: false
62MacroBlockBegin: ''
63MacroBlockEnd: ''
64MaxEmptyLinesToKeep: 1
65NamespaceIndentation: None
66
67# Taken from git's rules
68PenaltyBreakAssignment: 10
69PenaltyBreakBeforeFirstCallParameter: 30
70PenaltyBreakComment: 10
71PenaltyBreakString: 10
72PenaltyExcessCharacter: 100
73PenaltyReturnTypeOnItsOwnLine: 60
74
75PointerAlignment: Right
76ReferenceAlignment: Left
77ReflowComments: true
78SortIncludes: true
79SpaceAfterCStyleCast: true
80SpaceBeforeAssignmentOperators: true
81SpaceBeforeParens: ControlStatements
82SpaceInEmptyParentheses: false
83SpacesBeforeTrailingComments: 1
84SpacesInContainerLiterals: false
85SpacesInCStyleCastParentheses: false
86SpacesInParentheses: false
87SpacesInSquareBrackets: false
88Standard: Cpp11
89TabWidth: 8
90UseTab: Always
91...
This page took 0.022598 seconds and 4 git commands to generate.