Exit test test if kyua is missing
[elfdbg/.git] / .clang-format
CommitLineData
3131de8b
SB
1# $FreeBSD$
2# Basic .clang-format
3---
4BasedOnStyle: WebKit
5AlignAfterOpenBracket: DontAlign
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
8AlignEscapedNewlines: Left
9AlignOperands: false
10AlignTrailingComments: false
11AllowAllParametersOfDeclarationOnNextLine: false
12AllowShortBlocksOnASingleLine: false
13AllowShortCaseLabelsOnASingleLine: false
14AllowShortFunctionsOnASingleLine: InlineOnly
15AllowShortIfStatementsOnASingleLine: false
16AllowShortLoopsOnASingleLine: false
17AlwaysBreakAfterReturnType: TopLevelDefinitions
18AlwaysBreakBeforeMultilineStrings: false
19AlwaysBreakTemplateDeclarations: MultiLine
20BinPackArguments: true
21BinPackParameters: true
22BreakBeforeBinaryOperators: None
23BreakBeforeBraces: WebKit
24BreakBeforeTernaryOperators: false
25BreakStringLiterals: false
26PenaltyBreakBeforeFirstCallParameter: 1000
27CompactNamespaces: true
28DerivePointerAlignment: false
29DisableFormat: false
30ForEachMacros:
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
55IndentCaseLabels: false
56IndentPPDirectives: None
57Language: Cpp
58NamespaceIndentation: None
59PointerAlignment: Right
60ContinuationIndentWidth: 4
61IndentWidth: 8
62TabWidth: 8
63ColumnLimit: 80
64UseTab: Always
65SpaceAfterCStyleCast: false
66SortIncludes: false
67KeepEmptyLinesAtTheStartOfBlocks: true