xref: /foundation/arkui/ace_engine/.clang-format (revision 23b3eb3c)
123b3eb3cSopenharmony_ci---
223b3eb3cSopenharmony_ciLanguage:        Cpp
323b3eb3cSopenharmony_ciAccessModifierOffset: -4
423b3eb3cSopenharmony_ciAlignAfterOpenBracket: DontAlign
523b3eb3cSopenharmony_ciAlignConsecutiveAssignments: false
623b3eb3cSopenharmony_ciAlignConsecutiveDeclarations: false
723b3eb3cSopenharmony_ciAlignEscapedNewlines: Left
823b3eb3cSopenharmony_ciAlignOperands: true
923b3eb3cSopenharmony_ciAlignTrailingComments: true
1023b3eb3cSopenharmony_ciAllowAllParametersOfDeclarationOnNextLine: false
1123b3eb3cSopenharmony_ciAllowShortBlocksOnASingleLine: false
1223b3eb3cSopenharmony_ciAllowShortCaseLabelsOnASingleLine: false
1323b3eb3cSopenharmony_ciAllowShortFunctionsOnASingleLine: Empty
1423b3eb3cSopenharmony_ciAllowShortIfStatementsOnASingleLine: Never
1523b3eb3cSopenharmony_ciAllowShortLoopsOnASingleLine: false
1623b3eb3cSopenharmony_ciAlwaysBreakAfterReturnType: None
1723b3eb3cSopenharmony_ciAlwaysBreakBeforeMultilineStrings: false
1823b3eb3cSopenharmony_ciAlwaysBreakTemplateDeclarations: Yes
1923b3eb3cSopenharmony_ciBinPackArguments: true
2023b3eb3cSopenharmony_ciBinPackParameters: true
2123b3eb3cSopenharmony_ciBreakBeforeBraces: Custom
2223b3eb3cSopenharmony_ciBraceWrapping:
2323b3eb3cSopenharmony_ci  AfterClass:      false
2423b3eb3cSopenharmony_ci  AfterControlStatement: false
2523b3eb3cSopenharmony_ci  AfterEnum:       false
2623b3eb3cSopenharmony_ci  AfterFunction:   true
2723b3eb3cSopenharmony_ci  AfterNamespace:  false
2823b3eb3cSopenharmony_ci  AfterObjCDeclaration: false
2923b3eb3cSopenharmony_ci  AfterStruct:     false
3023b3eb3cSopenharmony_ci  AfterUnion:      false
3123b3eb3cSopenharmony_ci  AfterExternBlock: false
3223b3eb3cSopenharmony_ci  BeforeCatch:     false
3323b3eb3cSopenharmony_ci  BeforeElse:      false
3423b3eb3cSopenharmony_ci  IndentBraces:    false
3523b3eb3cSopenharmony_ci  SplitEmptyFunction: false
3623b3eb3cSopenharmony_ci  SplitEmptyRecord: false
3723b3eb3cSopenharmony_ci  SplitEmptyNamespace: false
3823b3eb3cSopenharmony_ciBreakBeforeBinaryOperators: None
3923b3eb3cSopenharmony_ciBreakBeforeInheritanceComma: false
4023b3eb3cSopenharmony_ciBreakBeforeTernaryOperators: true
4123b3eb3cSopenharmony_ciBreakConstructorInitializers: BeforeColon
4223b3eb3cSopenharmony_ciBreakInheritanceList: BeforeColon
4323b3eb3cSopenharmony_ciBreakStringLiterals: true
4423b3eb3cSopenharmony_ciBreakAfterJavaFieldAnnotations: true
4523b3eb3cSopenharmony_ciColumnLimit: 120
4623b3eb3cSopenharmony_ciCommentPragmas:  '^ IWYU pragma:'
4723b3eb3cSopenharmony_ciQualifierAlignment: Leave
4823b3eb3cSopenharmony_ciReflowComments: true
4923b3eb3cSopenharmony_ciCompactNamespaces: false
5023b3eb3cSopenharmony_ciConstructorInitializerAllOnOneLineOrOnePerLine: false
5123b3eb3cSopenharmony_ciConstructorInitializerIndentWidth: 4
5223b3eb3cSopenharmony_ciContinuationIndentWidth: 4
5323b3eb3cSopenharmony_ciCpp11BracedListStyle: false
5423b3eb3cSopenharmony_ciDerivePointerAlignment: false
5523b3eb3cSopenharmony_ciDisableFormat:   false
5623b3eb3cSopenharmony_ciFixNamespaceComments: true
5723b3eb3cSopenharmony_ciForEachMacros:
5823b3eb3cSopenharmony_ci  - foreach
5923b3eb3cSopenharmony_ci  - Q_FOREACH
6023b3eb3cSopenharmony_ci  - BOOST_FOREACH
6123b3eb3cSopenharmony_ciIncludeBlocks: Regroup
6223b3eb3cSopenharmony_ciIncludeCategories:
6323b3eb3cSopenharmony_ci  - Regex:           '^"(base|core|elements|rendering|adapter|dsl|frameworks|resource|accessibility|bridge)/'
6423b3eb3cSopenharmony_ci    Priority:        3
6523b3eb3cSopenharmony_ci  - Regex:           '<*>'
6623b3eb3cSopenharmony_ci    Priority:        1
6723b3eb3cSopenharmony_ci  - Regex:           '.*'
6823b3eb3cSopenharmony_ci    Priority:        2
6923b3eb3cSopenharmony_ciIndentCaseLabels: true
7023b3eb3cSopenharmony_ciIndentPPDirectives: None
7123b3eb3cSopenharmony_ciIndentWidth: 4
7223b3eb3cSopenharmony_ciIndentWrappedFunctionNames: false
7323b3eb3cSopenharmony_ciJavaScriptQuotes: Leave
7423b3eb3cSopenharmony_ciJavaScriptWrapImports: true
7523b3eb3cSopenharmony_ciKeepEmptyLinesAtTheStartOfBlocks: false
7623b3eb3cSopenharmony_ciMacroBlockBegin: ''
7723b3eb3cSopenharmony_ciMacroBlockEnd:   ''
7823b3eb3cSopenharmony_ciMaxEmptyLinesToKeep: 1
7923b3eb3cSopenharmony_ciNamespaceIndentation: None
8023b3eb3cSopenharmony_ciPenaltyBreakAssignment: 2
8123b3eb3cSopenharmony_ciPenaltyBreakBeforeFirstCallParameter: 39
8223b3eb3cSopenharmony_ciPenaltyBreakComment: 300
8323b3eb3cSopenharmony_ciPenaltyBreakFirstLessLess: 120
8423b3eb3cSopenharmony_ciPenaltyBreakString: 1000
8523b3eb3cSopenharmony_ciPenaltyExcessCharacter: 1000000
8623b3eb3cSopenharmony_ciPenaltyReturnTypeOnItsOwnLine: 80
8723b3eb3cSopenharmony_ciPointerAlignment: Left
8823b3eb3cSopenharmony_ciSortIncludes: true
8923b3eb3cSopenharmony_ciSortUsingDeclarations: true
9023b3eb3cSopenharmony_ciSpaceAfterCStyleCast: false
9123b3eb3cSopenharmony_ciSpaceAfterTemplateKeyword: false
9223b3eb3cSopenharmony_ciSpaceBeforeAssignmentOperators: true
9323b3eb3cSopenharmony_ciSpaceBeforeCpp11BracedList: true
9423b3eb3cSopenharmony_ciSpaceBeforeCtorInitializerColon: true
9523b3eb3cSopenharmony_ciSpaceBeforeParens: ControlStatements
9623b3eb3cSopenharmony_ciSpaceBeforeRangeBasedForLoopColon: true
9723b3eb3cSopenharmony_ciSpaceInEmptyParentheses: false
9823b3eb3cSopenharmony_ciSpacesBeforeTrailingComments: 1
9923b3eb3cSopenharmony_ciSpacesInAngles:  false
10023b3eb3cSopenharmony_ciSpacesInCStyleCastParentheses: false
10123b3eb3cSopenharmony_ciSpacesInContainerLiterals: true
10223b3eb3cSopenharmony_ciSpacesInParentheses: false
10323b3eb3cSopenharmony_ciSpacesInSquareBrackets: false
10423b3eb3cSopenharmony_ciStandard:        Cpp11
10523b3eb3cSopenharmony_ciTabWidth:        4
10623b3eb3cSopenharmony_ciUseTab:          Never
10723b3eb3cSopenharmony_ci...
108