keepassxc

Форк
0
/
.clang-format 
87 строк · 2.5 Кб
1
---
2
Language:        Cpp
3
AccessModifierOffset: -4
4
AlignAfterOpenBracket: Align
5
AlignConsecutiveAssignments: false
6
AlignConsecutiveDeclarations: false
7
AlignEscapedNewlinesLeft: false
8
AlignOperands:   true
9
AlignTrailingComments: false
10
AllowAllParametersOfDeclarationOnNextLine: false
11
AllowShortBlocksOnASingleLine: false
12
AllowShortCaseLabelsOnASingleLine: false
13
AllowShortFunctionsOnASingleLine: None
14
AllowShortIfStatementsOnASingleLine: false
15
AllowShortLoopsOnASingleLine: false
16
AlwaysBreakAfterDefinitionReturnType: None
17
AlwaysBreakAfterReturnType: None
18
AlwaysBreakBeforeMultilineStrings: false
19
AlwaysBreakTemplateDeclarations: false
20
BinPackArguments: false
21
BinPackParameters: false
22
BraceWrapping:
23
  AfterClass:      true
24
  AfterFunction:   true
25
  AfterControlStatement: false
26
  AfterEnum:       true
27
  AfterNamespace:  true
28
  AfterStruct:     true
29
  AfterUnion:      true
30
  BeforeCatch:     false
31
  BeforeElse:      false
32
  IndentBraces:    false
33
BreakBeforeBinaryOperators: NonAssignment
34
BreakBeforeBraces: Custom
35
BreakBeforeTernaryOperators: true
36
BreakConstructorInitializersBeforeComma: true
37
ColumnLimit:     120
38
CommentPragmas:  '^ IWYU pragma:'
39
ConstructorInitializerAllOnOneLineOrOnePerLine: false
40
ConstructorInitializerIndentWidth: 4
41
ContinuationIndentWidth: 4
42
Cpp11BracedListStyle: true
43
DerivePointerAlignment: false
44
DisableFormat:   false
45
ExperimentalAutoDetectBinPacking: false
46
ForEachMacros:   [ foreach, Q_FOREACH, BOOST_FOREACH ]
47
IncludeCategories:
48
  - Regex:           '^"(llvm|llvm-c|clang|clang-c)/'
49
    Priority:        2
50
  - Regex:           '^(<|"(gtest|isl|json)/)'
51
    Priority:        3
52
  - Regex:           '.*'
53
    Priority:        1
54
IndentCaseLabels: false
55
IndentWidth:     4
56
IndentWrappedFunctionNames: false
57
KeepEmptyLinesAtTheStartOfBlocks: true
58
MacroBlockBegin: ''
59
MacroBlockEnd:   ''
60
MaxEmptyLinesToKeep: 1
61
NamespaceIndentation: All
62
ObjCBlockIndentWidth: 4
63
ObjCSpaceAfterProperty: false
64
ObjCSpaceBeforeProtocolList: true
65
PenaltyBreakBeforeFirstCallParameter: 19
66
PenaltyBreakComment: 300
67
PenaltyBreakFirstLessLess: 120
68
PenaltyBreakString: 1000
69
PenaltyExcessCharacter: 1000000
70
PenaltyReturnTypeOnItsOwnLine: 60
71
PointerAlignment: Left
72
ReflowComments:  true
73
SortIncludes:    true
74
SpaceAfterCStyleCast: false
75
SpaceBeforeAssignmentOperators: true
76
SpaceBeforeParens: ControlStatements
77
SpaceInEmptyParentheses: false
78
SpacesBeforeTrailingComments: 1
79
SpacesInAngles:  false
80
SpacesInContainerLiterals: true
81
SpacesInCStyleCastParentheses: false
82
SpacesInParentheses: false
83
SpacesInSquareBrackets: false
84
Standard:        c++17
85
TabWidth:        4
86
UseTab:          Never
87
...
88

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

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

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

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