Skip sections which are not PROGBITS
[elfdbg/.git] / .clang-format
1 # $FreeBSD$
2 # Basic .clang-format
3 ---
4 BasedOnStyle: WebKit
5 AlignAfterOpenBracket: DontAlign
6 AlignConsecutiveAssignments: false
7 AlignConsecutiveDeclarations: false
8 AlignEscapedNewlines: Left
9 AlignOperands: false
10 AlignTrailingComments: false
11 AllowAllParametersOfDeclarationOnNextLine: false
12 AllowShortBlocksOnASingleLine: false
13 AllowShortCaseLabelsOnASingleLine: false
14 AllowShortFunctionsOnASingleLine: InlineOnly
15 AllowShortIfStatementsOnASingleLine: false
16 AllowShortLoopsOnASingleLine: false
17 AlwaysBreakAfterReturnType: TopLevelDefinitions
18 AlwaysBreakBeforeMultilineStrings: false
19 AlwaysBreakTemplateDeclarations: MultiLine
20 BinPackArguments: true
21 BinPackParameters: true
22 BreakBeforeBinaryOperators: None
23 BreakBeforeBraces: WebKit
24 BreakBeforeTernaryOperators: false
25 BreakStringLiterals: false
26 PenaltyBreakBeforeFirstCallParameter: 1000
27 CompactNamespaces: true
28 DerivePointerAlignment: false
29 DisableFormat: false
30 ForEachMacros:
31   - SLIST_FOREACH
32   - SLIST_FOREACH_SAFE
33   - LIST_FOREACH
34   - LIST_FOREACH_SAFE
35   - STAILQ_FOREACH
36   - STAILQ_FOREACH_SAFE
37   - TAILQ_FOREACH
38   - TAILQ_FOREACH_SAFE
39   - TAILQ_FOREACH_REVERSE
40   - TAILQ_FOREACH_REVERSE_SAFE
41   - RB_FOREACH
42   - RB_FOREACH_SAFE
43   - RB_FOREACH_FROM
44   - RB_FOREACH_REVERSE
45   - RB_FOREACH_REVERSE_FROM
46   - RB_FOREACH_REVERSE_SAFE
47   - FOREACH_THREAD_IN_PROC
48   - FOREACH_PROC_IN_SYSTEM
49   - FOREACH_PRISON_CHILD
50   - FOREACH_PRISON_DESCENDANT
51   - FOREACH_PRISON_DESCENDANT_LOCKED
52   - FOREACH_PRISON_DESCENDANT_LOCKED_LEVEL
53   - MNT_VNODE_FOREACH_ALL
54   - MNT_VNODE_FOREACH_ACTIVE
55 IndentCaseLabels: false
56 IndentPPDirectives: None
57 Language: Cpp
58 NamespaceIndentation: None
59 PointerAlignment: Right
60 ContinuationIndentWidth: 4
61 IndentWidth: 8
62 TabWidth: 8
63 ColumnLimit: 80
64 UseTab: Always
65 SpaceAfterCStyleCast: false
66 SortIncludes: false
67 KeepEmptyLinesAtTheStartOfBlocks: true