glusterfs

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

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

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

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

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