onnx

Форк
0
/
.clang-format 
93 строки · 2.6 Кб
1
---
2
Language: Cpp
3
BasedOnStyle: Google
4
AccessModifierOffset: -1
5
AlignAfterOpenBracket: AlwaysBreak
6
AlignConsecutiveAssignments: false
7
AlignConsecutiveDeclarations: false
8
AlignEscapedNewlines: Left
9
AlignOperands:   false
10
AlignTrailingComments: false
11
AllowAllParametersOfDeclarationOnNextLine: false
12
AllowShortBlocksOnASingleLine: false
13
AllowShortCaseLabelsOnASingleLine: false
14
AllowShortFunctionsOnASingleLine: Empty
15
AllowShortIfStatementsOnASingleLine: false
16
AllowShortLoopsOnASingleLine: false
17
AlwaysBreakAfterDefinitionReturnType: None
18
AlwaysBreakAfterReturnType: None
19
AlwaysBreakBeforeMultilineStrings: true
20
AlwaysBreakTemplateDeclarations: true
21
BinPackArguments: false
22
BinPackParameters: false
23
BraceWrapping:
24
  AfterClass:      false
25
  AfterControlStatement: false
26
  AfterEnum:       false
27
  AfterFunction:   false
28
  AfterNamespace:  false
29
  AfterObjCDeclaration: false
30
  AfterStruct:     false
31
  AfterUnion:      false
32
  BeforeCatch:     false
33
  BeforeElse:      false
34
  IndentBraces:    false
35
BreakBeforeBinaryOperators: None
36
BreakBeforeBraces: Attach
37
BreakBeforeInheritanceComma: false
38
BreakBeforeTernaryOperators: true
39
BreakConstructorInitializersBeforeComma: false
40
BreakConstructorInitializers: BeforeColon
41
BreakStringLiterals: false
42
ColumnLimit:     120
43
CommentPragmas:  '^ IWYU pragma:'
44
CompactNamespaces: false
45
ConstructorInitializerAllOnOneLineOrOnePerLine: true
46
ConstructorInitializerIndentWidth: 4
47
ContinuationIndentWidth: 4
48
Cpp11BracedListStyle: true
49
DerivePointerAlignment: false
50
DisableFormat:   false
51
ExperimentalAutoDetectBinPacking: false
52
FixNamespaceComments: true
53
ForEachMacros:
54
  - FOR_EACH_RANGE
55
  - FOR_EACH
56
  - BOOST_FOREACH
57
IncludeIsMainRegex: '(Test)?$'
58
IndentCaseLabels: true
59
IndentWidth:     2
60
IndentWrappedFunctionNames: false
61
JavaScriptQuotes: Leave
62
JavaScriptWrapImports: true
63
KeepEmptyLinesAtTheStartOfBlocks: false
64
MacroBlockBegin: ''
65
MacroBlockEnd:   ''
66
MaxEmptyLinesToKeep: 1
67
NamespaceIndentation: None
68
ObjCBlockIndentWidth: 2
69
ObjCSpaceAfterProperty: false
70
ObjCSpaceBeforeProtocolList: false
71
PenaltyBreakAssignment: 2
72
PenaltyBreakBeforeFirstCallParameter: 1
73
PenaltyBreakComment: 300
74
PenaltyBreakFirstLessLess: 120
75
PenaltyBreakString: 1000
76
PenaltyExcessCharacter: 1000000
77
PenaltyReturnTypeOnItsOwnLine: 200
78
PointerAlignment: Left
79
ReflowComments:  true
80
SortIncludes:    true
81
SpaceAfterCStyleCast: false
82
SpaceAfterTemplateKeyword: true
83
SpaceBeforeAssignmentOperators: true
84
SpaceBeforeParens: ControlStatements
85
SpaceInEmptyParentheses: false
86
SpacesBeforeTrailingComments: 1
87
SpacesInAngles:  false
88
SpacesInContainerLiterals: true
89
SpacesInCStyleCastParentheses: false
90
SpacesInParentheses: false
91
SpacesInSquareBrackets: false
92
TabWidth:        8
93
UseTab:          Never
94

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

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

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

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