tap: import some changes
[argpar.git] / .clang-format
1 # SPDX-License-Identifier: GPL-2.0-only
2 # SPDX-FileCopyrightText: 2019-2024 Philippe Proulx <pproulx@efficios.com>
3
4 # For clang-format 15
5 AccessModifierOffset: -4
6 AlignAfterOpenBracket: Align
7 AlignArrayOfStructures: None
8 AlignConsecutiveAssignments: None
9 AlignConsecutiveDeclarations: None
10 AlignConsecutiveMacros: Consecutive
11 AlignEscapedNewlines: Right
12 AlignOperands: Align
13 AlignTrailingComments: true
14 AllowAllArgumentsOnNextLine: false
15 AllowAllConstructorInitializersOnNextLine: false
16 AllowAllParametersOfDeclarationOnNextLine: false
17 AllowShortBlocksOnASingleLine: Never
18 AllowShortCaseLabelsOnASingleLine: false
19 AllowShortEnumsOnASingleLine: false
20 AllowShortFunctionsOnASingleLine: None
21 AllowShortIfStatementsOnASingleLine: Never
22 AllowShortLambdasOnASingleLine: None
23 AllowShortLoopsOnASingleLine: false
24 AlwaysBreakAfterReturnType: None
25 AlwaysBreakBeforeMultilineStrings: false
26 AlwaysBreakTemplateDeclarations: Yes
27 AttributeMacros: ["ARGPAR_HIDDEN"]
28 BinPackArguments: true
29 BinPackParameters: true
30 BraceWrapping:
31 AfterCaseLabel: true
32 AfterClass: true
33 AfterControlStatement: Never
34 AfterEnum: true
35 AfterFunction: true
36 AfterNamespace: false
37 AfterStruct: true
38 AfterUnion: true
39 AfterExternBlock: false
40 BeforeCatch: false
41 BeforeElse: false
42 BeforeLambdaBody: false
43 BeforeWhile: false
44 SplitEmptyFunction: true
45 SplitEmptyRecord: true
46 SplitEmptyNamespace: true
47 BreakBeforeBinaryOperators: None
48 BreakBeforeBraces: Custom
49 BreakBeforeTernaryOperators: false
50 BreakConstructorInitializers: AfterColon
51 BreakInheritanceList: AfterColon
52 BreakStringLiterals: false
53 ColumnLimit: 100
54 CompactNamespaces: false
55 ConstructorInitializerAllOnOneLineOrOnePerLine: false
56 ConstructorInitializerIndentWidth: 4
57 ContinuationIndentWidth: 4
58 Cpp11BracedListStyle: true
59 DeriveLineEnding: false
60 DerivePointerAlignment: false
61 DisableFormat: false
62 EmptyLineBeforeAccessModifier: Always
63 FixNamespaceComments: true
64 IncludeBlocks: Regroup
65 IncludeCategories:
66 # System C headers
67 - Regex: '^<.+\.h>$'
68 Priority: 2
69 # System C++ headers
70 - Regex: "^<.+>$"
71 Priority: 1
72 # The rest (local headers)
73 - Regex: ".+"
74 Priority: 3
75 IncludeIsMainRegex: "please_dont_do_that"
76 IndentAccessModifiers: false
77 IndentCaseBlocks: false
78 IndentCaseLabels: false
79 IndentExternBlock: NoIndent
80 IndentGotoLabels: false
81 IndentPPDirectives: AfterHash
82 IndentWidth: 4
83 IndentWrappedFunctionNames: false
84 InsertTrailingCommas: None
85 KeepEmptyLinesAtTheStartOfBlocks: false
86 LambdaBodyIndentation: Signature
87 Language: Cpp
88 MaxEmptyLinesToKeep: 1
89 NamespaceIndentation: None
90 PPIndentWidth: 4
91 PointerAlignment: Right
92 ReferenceAlignment: Left
93 ReflowComments: false
94 SortIncludes: CaseInsensitive
95 SortUsingDeclarations: false
96 SpaceAfterCStyleCast: true
97 SpaceAfterLogicalNot: false
98 SpaceAfterTemplateKeyword: true
99 SpaceAroundPointerQualifiers: Both
100 SpaceBeforeAssignmentOperators: true
101 SpaceBeforeCaseColon: false
102 SpaceBeforeCpp11BracedList: true
103 SpaceBeforeCtorInitializerColon: true
104 SpaceBeforeInheritanceColon: true
105 SpaceBeforeParens: ControlStatements
106 SpaceBeforeRangeBasedForLoopColon: true
107 SpaceBeforeSquareBrackets: false
108 SpaceInEmptyBlock: true
109 SpaceInEmptyParentheses: false
110 SpacesBeforeTrailingComments: 1
111 SpacesInAngles: Never
112 SpacesInConditionalStatement: false
113 SpacesInContainerLiterals: false
114 SpacesInCStyleCastParentheses: false
115 SpacesInParentheses: false
116 SpacesInSquareBrackets: false
117 Standard: Cpp11
118 UseCRLF: false
119 UseTab: Never
This page took 0.031014 seconds and 4 git commands to generate.