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