Debian Codegraph @

.clang-format

raw
1 # libE57Format
2 # Options are listed here:
3 # https://clang.llvm.org/docs/ClangFormatStyleOptions.html
4 ---
5 AccessModifierOffset: -3
6 AlignAfterOpenBracket: Align
7 AlignConsecutiveAssignments: false
8 AlignConsecutiveDeclarations: false
9 AlignEscapedNewlines: Right
10 AlignOperands: true
11 AlignTrailingComments: true
12 AllowAllArgumentsOnNextLine: true
13 AllowAllConstructorInitializersOnNextLine: true
14 AllowAllParametersOfDeclarationOnNextLine: true
15 AllowShortBlocksOnASingleLine: false
16 AllowShortCaseLabelsOnASingleLine: false
17 AllowShortFunctionsOnASingleLine: None
18 AllowShortLambdasOnASingleLine: All
19 AllowShortIfStatementsOnASingleLine: Never
20 AllowShortLoopsOnASingleLine: false
21 AlwaysBreakAfterDefinitionReturnType: None
22 AlwaysBreakAfterReturnType: None
23 AlwaysBreakBeforeMultilineStrings: false
24 AlwaysBreakTemplateDeclarations: MultiLine
25 BinPackArguments: true
26 BinPackParameters: true
27 BitFieldColonSpacing: Both
28 BraceWrapping:
29 AfterCaseLabel: true
30 AfterClass: true
31 AfterControlStatement: true
32 AfterEnum: true
33 AfterFunction: true
34 AfterNamespace: true
35 AfterStruct: true
36 AfterUnion: true
37 AfterExternBlock: true
38 BeforeCatch: true
39 BeforeElse: true
40 IndentBraces: false
41 SplitEmptyFunction: true
42 SplitEmptyRecord: true
43 SplitEmptyNamespace: true
44 BreakBeforeBinaryOperators: None
45 BreakBeforeBraces: Custom
46 BreakBeforeInheritanceComma: false
47 BreakInheritanceList: BeforeColon
48 BreakBeforeTernaryOperators: true
49 BreakConstructorInitializersBeforeComma: false
50 BreakConstructorInitializers: AfterColon
51 BreakStringLiterals: true
52 ColumnLimit: 100
53 CommentPragmas: '@copydetails '
54 CompactNamespaces: false
55 ConstructorInitializerAllOnOneLineOrOnePerLine: false
56 ConstructorInitializerIndentWidth: 3
57 ContinuationIndentWidth: 3
58 Cpp11BracedListStyle: false
59 DeriveLineEnding: false
60 DerivePointerAlignment: false
61 EmptyLineBeforeAccessModifier: LogicalBlock
62 EmptyLineAfterAccessModifier: Never
63 FixNamespaceComments: false
64 IncludeBlocks: Preserve
65 IncludeCategories:
66 - Regex: '^"(llvm|llvm-c|clang|clang-c)/'
67 Priority: 2
68 - Regex: '^(<|"(gtest|gmock|isl|json)/)'
69 Priority: 3
70 - Regex: '.*'
71 Priority: 1
72 IncludeIsMainRegex: '(Test)?$'
73 IndentCaseLabels: true
74 IndentPPDirectives: None
75 IndentWidth: 3
76 IndentWrappedFunctionNames: true
77 InsertBraces: true
78 KeepEmptyLinesAtTheStartOfBlocks: true
79 Language: Cpp
80 MaxEmptyLinesToKeep: 1
81 NamespaceIndentation: All
82 PenaltyBreakAssignment: 2
83 PenaltyBreakBeforeFirstCallParameter: 19
84 PenaltyBreakComment: 300
85 PenaltyBreakFirstLessLess: 120
86 PenaltyBreakString: 1000
87 PenaltyBreakTemplateDeclaration: 10
88 PenaltyExcessCharacter: 1000000
89 PenaltyReturnTypeOnItsOwnLine: 1000
90 PointerAlignment: Right
91 ReflowComments: true
92 SortIncludes: true
93 SortUsingDeclarations: true
94 SpaceAfterCStyleCast: false
95 SpaceAfterLogicalNot: false
96 SpaceAfterTemplateKeyword: true
97 SpaceBeforeAssignmentOperators: true
98 SpaceBeforeCaseColon: false
99 SpaceBeforeCpp11BracedList: false
100 SpaceBeforeCtorInitializerColon: true
101 SpaceBeforeInheritanceColon: true
102 SpaceBeforeParens: ControlStatements
103 SpaceBeforeRangeBasedForLoopColon: true
104 SpaceInEmptyParentheses: false
105 SpacesBeforeTrailingComments: 1
106 SpacesInAngles: false
107 SpacesInContainerLiterals: true
108 SpacesInCStyleCastParentheses: false
109 SpacesInParentheses: true
110 SpacesInSquareBrackets: false
111 Standard: c++14
112 TabWidth: 3
113 UseCRLF: false
114 UseTab: Never