mirror of
https://gitee.com/openharmony/distributeddatamgr_relational_store
synced 2024-11-22 22:50:01 +00:00
add git pr msg and format
Signed-off-by: MangTsang <mang.tsang@huawei.com>
This commit is contained in:
parent
5e21bb4608
commit
15fe2b7457
187
.clang-format
Normal file
187
.clang-format
Normal file
@ -0,0 +1,187 @@
|
||||
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
|
9
.gitee/PULL_REQUEST_TEMPLATE.zh-CN.md
Normal file
9
.gitee/PULL_REQUEST_TEMPLATE.zh-CN.md
Normal file
@ -0,0 +1,9 @@
|
||||
* **IssueNo**:
|
||||
* **Description**:
|
||||
* **Sig**: SIG_DataManagement
|
||||
* **Feature or Bugfix**:
|
||||
* **Binary Source**:No/Yes
|
||||
* **TDD**:Pass/Fail/NA
|
||||
* **XTS**:Pass/Fail/NA
|
||||
* **Pretest**:Pass/Fail/NA
|
||||
|
Loading…
Reference in New Issue
Block a user