mirror of
https://gitee.com/openharmony/distributeddatamgr_data_share
synced 2024-11-23 06:50:16 +00:00
188 lines
3.4 KiB
Plaintext
188 lines
3.4 KiB
Plaintext
|
Language: Cpp
|
||
|
|
||
|
AccessModifierOffset: -4
|
||
|
|
||
|
AlignAfterOpenBracket: DontAlign
|
||
|
|
||
|
AlignConsecutiveAssignments: false
|
||
|
|
||
|
AlignConsecutiveDeclarations: false
|
||
|
|
||
|
AlignOperands: true
|
||
|
|
||
|
AlignTrailingComments: true
|
||
|
|
||
|
AllowAllParametersOfDeclarationOnNextLine: false
|
||
|
AllowShortBlocksOnASingleLine: false
|
||
|
|
||
|
AllowShortCaseLabelsOnASingleLine: false
|
||
|
|
||
|
AllowShortFunctionsOnASingleLine: None
|
||
|
|
||
|
AllowShortIfStatementsOnASingleLine: false
|
||
|
|
||
|
AllowShortLoopsOnASingleLine: false
|
||
|
|
||
|
AlwaysBreakAfterDefinitionReturnType: None
|
||
|
|
||
|
AlwaysBreakAfterReturnType: None
|
||
|
|
||
|
AlwaysBreakBeforeMultilineStrings: false
|
||
|
|
||
|
AlwaysBreakTemplateDeclarations: false
|
||
|
|
||
|
BinPackArguments: true
|
||
|
|
||
|
BinPackParameters: true
|
||
|
|
||
|
BreakBeforeBinaryOperators: NonAssignment
|
||
|
|
||
|
BreakBeforeBraces: Custom
|
||
|
|
||
|
AlignEscapedNewlines: Left
|
||
|
|
||
|
BreakBeforeInheritanceComma: false
|
||
|
|
||
|
BreakBeforeTernaryOperators: true
|
||
|
|
||
|
BreakConstructorInitializersBeforeComma: false
|
||
|
BreakConstructorInitializers: BeforeColon
|
||
|
|
||
|
BreakInheritanceList: BeforeComma
|
||
|
BreakAfterJavaFieldAnnotations: false
|
||
|
BreakStringLiterals: true
|
||
|
|
||
|
ColumnLimit: 119
|
||
|
|
||
|
CommentPragmas: '^ NOLINT'
|
||
|
CompactNamespaces: false
|
||
|
|
||
|
ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
||
|
|
||
|
ConstructorInitializerIndentWidth: 4
|
||
|
|
||
|
ContinuationIndentWidth: 4
|
||
|
Cpp11BracedListStyle: false
|
||
|
|
||
|
DerivePointerAlignment: false
|
||
|
|
||
|
PointerAlignment: Right
|
||
|
|
||
|
ExperimentalAutoDetectBinPacking: false
|
||
|
|
||
|
FixNamespaceComments: true
|
||
|
|
||
|
ForEachMacros:
|
||
|
- foreach
|
||
|
- Q_FOREACH
|
||
|
- BOOST_FOREACH
|
||
|
IncludeBlocks: Regroup
|
||
|
|
||
|
IncludeCategories:
|
||
|
- Regex: '^<ext/.*\.h>'
|
||
|
Priority: 2
|
||
|
- Regex: '^<.*\.h>'
|
||
|
Priority: 1
|
||
|
- Regex: '^<.*'
|
||
|
Priority: 2
|
||
|
- Regex: '.*'
|
||
|
Priority: 3
|
||
|
IncludeIsMainRegex: '([-_](test|benchmark))?$'
|
||
|
|
||
|
IndentCaseLabels: true
|
||
|
IndentPPDirectives: None
|
||
|
|
||
|
IndentWidth: 4
|
||
|
|
||
|
IndentWrappedFunctionNames: false
|
||
|
|
||
|
JavaScriptQuotes: Leave
|
||
|
JavaScriptWrapImports: true
|
||
|
|
||
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
||
|
|
||
|
MacroBlockBegin: '[A-Z_]+_BEGIN\(.*\)$'
|
||
|
|
||
|
MacroBlockEnd: '.[A-Z_]+_END\(.*\)$'
|
||
|
|
||
|
MaxEmptyLinesToKeep: 1
|
||
|
|
||
|
NamespaceIndentation: None
|
||
|
|
||
|
ObjCBinPackProtocolList: Never
|
||
|
|
||
|
ObjCBlockIndentWidth: 4
|
||
|
|
||
|
ObjCSpaceAfterProperty: false
|
||
|
|
||
|
ObjCSpaceBeforeProtocolList: true
|
||
|
|
||
|
PenaltyBreakBeforeFirstCallParameter: 1000
|
||
|
|
||
|
PenaltyBreakComment: 100
|
||
|
|
||
|
PenaltyBreakFirstLessLess: 5
|
||
|
|
||
|
PenaltyBreakString: 10
|
||
|
|
||
|
PenaltyBreakTemplateDeclaration: 10
|
||
|
|
||
|
PenaltyExcessCharacter: 20
|
||
|
|
||
|
PenaltyReturnTypeOnItsOwnLine: 50
|
||
|
|
||
|
PenaltyBreakAssignment: 10
|
||
|
|
||
|
ReflowComments: false
|
||
|
|
||
|
SortIncludes: true
|
||
|
|
||
|
SortUsingDeclarations: true
|
||
|
|
||
|
SpaceAfterCStyleCast: false
|
||
|
|
||
|
SpaceAfterTemplateKeyword: false
|
||
|
|
||
|
SpaceBeforeAssignmentOperators: true
|
||
|
SpaceBeforeCpp11BracedList: false
|
||
|
SpaceBeforeCtorInitializerColon: true
|
||
|
SpaceBeforeInheritanceColon: true
|
||
|
|
||
|
SpaceBeforeParens: ControlStatements
|
||
|
SpaceBeforeRangeBasedForLoopColon: true
|
||
|
|
||
|
SpaceInEmptyParentheses: false
|
||
|
|
||
|
SpacesBeforeTrailingComments: 1
|
||
|
|
||
|
SpacesInAngles: false
|
||
|
|
||
|
SpacesInContainerLiterals: true
|
||
|
|
||
|
SpacesInCStyleCastParentheses: false
|
||
|
|
||
|
SpacesInParentheses: false
|
||
|
|
||
|
SpacesInSquareBrackets: false
|
||
|
|
||
|
Standard: Cpp11
|
||
|
|
||
|
TabWidth: 4
|
||
|
|
||
|
UseTab: Never
|
||
|
|
||
|
BraceWrapping:
|
||
|
AfterClass: false
|
||
|
AfterControlStatement: false
|
||
|
AfterEnum: false
|
||
|
AfterFunction: true
|
||
|
AfterNamespace: false
|
||
|
AfterObjCDeclaration: false
|
||
|
AfterStruct: false
|
||
|
AfterUnion: false
|
||
|
AfterExternBlock: false
|
||
|
BeforeCatch: false
|
||
|
BeforeElse: false
|
||
|
|
||
|
DisableFormat: false
|