]> git.sesse.net Git - plocate/blob - .clang-format
Release plocate 1.1.22.
[plocate] / .clang-format
1 AlignAfterOpenBracket: Align
2 AlignConsecutiveAssignments: false
3 AlignConsecutiveDeclarations: false
4 AlignEscapedNewlines: DontAlign
5 AlignOperands: false
6 AlignTrailingComments: false
7 AllowAllParametersOfDeclarationOnNextLine: true
8 AllowShortBlocksOnASingleLine: false
9 AllowShortCaseLabelsOnASingleLine: false
10 AllowShortFunctionsOnASingleLine: Inline
11 AllowShortIfStatementsOnASingleLine: false
12 AllowShortLoopsOnASingleLine: false
13 AlwaysBreakAfterReturnType: None
14 AlwaysBreakBeforeMultilineStrings: false
15 AlwaysBreakTemplateDeclarations: true
16 BinPackArguments: true
17 BinPackParameters: true
18 BreakBeforeBinaryOperators: None
19 BreakBeforeBraces: WebKit
20 BreakBeforeTernaryOperators: true
21 BreakConstructorInitializers: BeforeColon
22 #BreakInheritanceList: BeforeColon
23 BreakStringLiterals: false
24 CompactNamespaces: false
25 ConstructorInitializerAllOnOneLineOrOnePerLine: false
26 Cpp11BracedListStyle: false
27 DerivePointerAlignment: false
28 FixNamespaceComments: false
29 IncludeBlocks: Regroup
30 IndentCaseLabels: false
31 IndentPPDirectives: None
32 IndentWrappedFunctionNames: false
33 KeepEmptyLinesAtTheStartOfBlocks: false
34 Language: Cpp
35 MaxEmptyLinesToKeep: 1
36 NamespaceIndentation: None
37 PointerAlignment: Right
38 ReflowComments: true
39 SortIncludes: true
40 SortUsingDeclarations: true
41 SpaceAfterCStyleCast: false
42 SpaceAfterTemplateKeyword: false
43 SpaceBeforeAssignmentOperators: true
44 #SpaceBeforeCpp11BracedList: false
45 SpaceBeforeCtorInitializerColon: true
46 SpaceBeforeInheritanceColon: true
47 SpaceBeforeParens: ControlStatements
48 SpaceBeforeRangeBasedForLoopColon: true
49 SpaceInEmptyParentheses: false
50 SpacesBeforeTrailingComments: 2
51 SpacesInAngles: false
52 SpacesInCStyleCastParentheses: false
53 SpacesInContainerLiterals: false
54 SpacesInParentheses: false
55 SpacesInSquareBrackets: false
56 Standard: Cpp11
57
58 # HACK: TabWidth 200 makes sure we use tabs for single-tab indentation only,
59 # never for alignment. This makes the code readable at any tab width.
60 # It works only because we have ColumnLimit 0.
61 ColumnLimit: 0
62 UseTab: ForContinuationAndIndentation
63 AccessModifierOffset: -200
64 ConstructorInitializerIndentWidth: 200
65 ContinuationIndentWidth: 200
66 IndentWidth: 200
67 TabWidth: 200