FreeCAD

Форк
0
108 строк · 3.2 Кб
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
BraceWrapping:   
28
  AfterCaseLabel:  true
29
  AfterClass:      true
30
  AfterControlStatement: true
31
  AfterEnum:       true
32
  AfterFunction:   true
33
  AfterNamespace:  true
34
  AfterStruct:     true
35
  AfterUnion:      true
36
  AfterExternBlock: true
37
  BeforeCatch:     true
38
  BeforeElse:      true
39
  IndentBraces:    false
40
  SplitEmptyFunction: true
41
  SplitEmptyRecord: true
42
  SplitEmptyNamespace: true
43
BreakBeforeBinaryOperators: None
44
BreakBeforeBraces: Custom
45
BreakBeforeInheritanceComma: false
46
BreakInheritanceList: BeforeColon
47
BreakBeforeTernaryOperators: true
48
BreakConstructorInitializersBeforeComma: false
49
BreakConstructorInitializers: AfterColon
50
BreakStringLiterals: true
51
ColumnLimit: 120
52
CommentPragmas:  '^ IWYU pragma:'
53
CompactNamespaces: false
54
ConstructorInitializerAllOnOneLineOrOnePerLine: false
55
ConstructorInitializerIndentWidth: 3
56
ContinuationIndentWidth: 3
57
Cpp11BracedListStyle: false
58
DerivePointerAlignment: false
59
FixNamespaceComments: false
60
IncludeBlocks:   Preserve
61
IncludeCategories: 
62
  - Regex:           '^"(llvm|llvm-c|clang|clang-c)/'
63
    Priority:        2
64
  - Regex:           '^(<|"(gtest|gmock|isl|json)/)'
65
    Priority:        3
66
  - Regex:           '.*'
67
    Priority:        1
68
IncludeIsMainRegex: '(Test)?$'
69
IndentCaseLabels: true
70
IndentPPDirectives: None
71
IndentWidth:     3
72
IndentWrappedFunctionNames: true
73
KeepEmptyLinesAtTheStartOfBlocks: true
74
Language: Cpp
75
MaxEmptyLinesToKeep: 1
76
NamespaceIndentation: All
77
PenaltyBreakAssignment: 2
78
PenaltyBreakBeforeFirstCallParameter: 19
79
PenaltyBreakComment: 300
80
PenaltyBreakFirstLessLess: 120
81
PenaltyBreakString: 1000
82
PenaltyBreakTemplateDeclaration: 10
83
PenaltyExcessCharacter: 1000000
84
PenaltyReturnTypeOnItsOwnLine: 1000
85
PointerAlignment: Right
86
ReflowComments:  true
87
SortIncludes:    true
88
SortUsingDeclarations: true
89
SpaceAfterCStyleCast: false
90
SpaceAfterLogicalNot: false
91
SpaceAfterTemplateKeyword: true
92
SpaceBeforeAssignmentOperators: true
93
SpaceBeforeCpp11BracedList: false
94
SpaceBeforeCtorInitializerColon: true
95
SpaceBeforeInheritanceColon: true
96
SpaceBeforeParens: ControlStatements
97
SpaceBeforeRangeBasedForLoopColon: true
98
SpaceInEmptyParentheses: false
99
SpacesBeforeTrailingComments: 1
100
SpacesInAngles:  false
101
SpacesInContainerLiterals: true
102
SpacesInCStyleCastParentheses: false
103
SpacesInParentheses: true
104
SpacesInSquareBrackets: false
105
Standard:        Cpp11
106
TabWidth:        3
107
UseTab:          Never
108
...
109

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.