vscode: Add configurations to run the executables under the debugger
[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
38BreakConstructorInitializers: AfterColon
39BreakStringLiterals: false
40ColumnLimit: 100
41ConstructorInitializerAllOnOneLineOrOnePerLine: true
42ConstructorInitializerIndentWidth: 8
43ContinuationIndentWidth: 8
44Cpp11BracedListStyle: false
45DerivePointerAlignment: false
46DisableFormat: false
47EmptyLineBeforeAccessModifier: LogicalBlock
48FixNamespaceComments: true
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'
55 - 'for_each_action_mutable'
56 - 'for_each_action_const'
57 - 'cds_wfs_for_each_blocking_safe'
58
59IncludeBlocks: Regroup
60IncludeCategories:
61 - Regex: '".*"'
62 Priority: 0
63 - Regex: '<common/.*>'
64 Priority: 1
65 - Regex: '<lttng/.*>'
66 Priority: 2
67 - Regex: '<vendor/.*>'
68 Priority: 3
69 - Regex: '<.*>'
70 Priority: 9
71
72IncludeIsMainRegex: '(Test)?$'
73IndentCaseLabels: false
74IndentPPDirectives: None
75IndentWidth: 8
76IndentWrappedFunctionNames: false
77KeepEmptyLinesAtTheStartOfBlocks: false
78MacroBlockBegin: ''
79MacroBlockEnd: ''
80MaxEmptyLinesToKeep: 1
81NamespaceIndentation: None
82
83# Taken from git's rules
84PenaltyBreakAssignment: 10
85PenaltyBreakBeforeFirstCallParameter: 30
86PenaltyBreakComment: 10
87PenaltyBreakString: 10
88PenaltyExcessCharacter: 100
89PenaltyReturnTypeOnItsOwnLine: 60
90
91PointerAlignment: Right
92ReferenceAlignment: Left
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.023319 seconds and 5 git commands to generate.