1e5c31af7Sopenharmony_ci# The style used for all options not specifically set in the configuration. 2e5c31af7Sopenharmony_ciBasedOnStyle: LLVM 3e5c31af7Sopenharmony_ci 4e5c31af7Sopenharmony_ci# The extra indent or outdent of access modifiers, e.g. public:. 5e5c31af7Sopenharmony_ciAccessModifierOffset: -4 6e5c31af7Sopenharmony_ci 7e5c31af7Sopenharmony_ci# If true, aligns escaped newlines as far left as possible. Otherwise puts them into the right-most column. 8e5c31af7Sopenharmony_ciAlignEscapedNewlinesLeft: true 9e5c31af7Sopenharmony_ci 10e5c31af7Sopenharmony_ci# This will align the assignment operators of consecutive lines. 11e5c31af7Sopenharmony_ciAlignConsecutiveAssignments: true 12e5c31af7Sopenharmony_ci 13e5c31af7Sopenharmony_ci# This will align the declaration names of consecutive lines. 14e5c31af7Sopenharmony_ciAlignConsecutiveDeclarations: true 15e5c31af7Sopenharmony_ci 16e5c31af7Sopenharmony_ci# If true, aligns trailing comments. 17e5c31af7Sopenharmony_ciAlignTrailingComments: true 18e5c31af7Sopenharmony_ci 19e5c31af7Sopenharmony_ci# Allow putting all parameters of a function declaration onto the next line even if BinPackParameters is false. 20e5c31af7Sopenharmony_ciAllowAllParametersOfDeclarationOnNextLine: false 21e5c31af7Sopenharmony_ci 22e5c31af7Sopenharmony_ci# Allows contracting simple braced statements to a single line. 23e5c31af7Sopenharmony_ciAllowShortBlocksOnASingleLine: false 24e5c31af7Sopenharmony_ci 25e5c31af7Sopenharmony_ci# If true, short case labels will be contracted to a single line. 26e5c31af7Sopenharmony_ciAllowShortCaseLabelsOnASingleLine: false 27e5c31af7Sopenharmony_ci 28e5c31af7Sopenharmony_ci# Dependent on the value, int f() { return 0; } can be put on a single line. Possible values: None, Inline, All. 29e5c31af7Sopenharmony_ciAllowShortFunctionsOnASingleLine: None 30e5c31af7Sopenharmony_ci 31e5c31af7Sopenharmony_ci# If true, if (a) return; can be put on a single line. 32e5c31af7Sopenharmony_ciAllowShortIfStatementsOnASingleLine: false 33e5c31af7Sopenharmony_ci 34e5c31af7Sopenharmony_ci# If true, while (true) continue; can be put on a single line. 35e5c31af7Sopenharmony_ciAllowShortLoopsOnASingleLine: false 36e5c31af7Sopenharmony_ci 37e5c31af7Sopenharmony_ci# If true, always break after function definition return types. 38e5c31af7Sopenharmony_ciAlwaysBreakAfterDefinitionReturnType: false 39e5c31af7Sopenharmony_ci 40e5c31af7Sopenharmony_ci# If true, always break before multiline string literals. 41e5c31af7Sopenharmony_ciAlwaysBreakBeforeMultilineStrings: false 42e5c31af7Sopenharmony_ci 43e5c31af7Sopenharmony_ci# If true, always break after the template<...> of a template declaration. 44e5c31af7Sopenharmony_ciAlwaysBreakTemplateDeclarations: true 45e5c31af7Sopenharmony_ci 46e5c31af7Sopenharmony_ci# If false, a function call's arguments will either be all on the same line or will have one line each. 47e5c31af7Sopenharmony_ciBinPackArguments: true 48e5c31af7Sopenharmony_ci 49e5c31af7Sopenharmony_ci# If false, a function declaration's or function definition's parameters will either all be on the same line 50e5c31af7Sopenharmony_ci# or will have one line each. 51e5c31af7Sopenharmony_ciBinPackParameters: true 52e5c31af7Sopenharmony_ci 53e5c31af7Sopenharmony_ci# The way to wrap binary operators. Possible values: None, NonAssignment, All. 54e5c31af7Sopenharmony_ciBreakBeforeBinaryOperators: None 55e5c31af7Sopenharmony_ci 56e5c31af7Sopenharmony_ci# The brace breaking style to use. Possible values: Attach, Linux, Stroustrup, Allman, GNU. 57e5c31af7Sopenharmony_ciBreakBeforeBraces: Allman 58e5c31af7Sopenharmony_ci 59e5c31af7Sopenharmony_ci# If true, ternary operators will be placed after line breaks. 60e5c31af7Sopenharmony_ciBreakBeforeTernaryOperators: false 61e5c31af7Sopenharmony_ci 62e5c31af7Sopenharmony_ci# Always break constructor initializers before commas and align the commas with the colon. 63e5c31af7Sopenharmony_ciBreakConstructorInitializersBeforeComma: true 64e5c31af7Sopenharmony_ci 65e5c31af7Sopenharmony_ci# The column limit. A column limit of 0 means that there is no column limit. 66e5c31af7Sopenharmony_ciColumnLimit: 120 67e5c31af7Sopenharmony_ci 68e5c31af7Sopenharmony_ci# A regular expression that describes comments with special meaning, which should not be split into lines or otherwise changed. 69e5c31af7Sopenharmony_ciCommentPragmas: '^ *' 70e5c31af7Sopenharmony_ci 71e5c31af7Sopenharmony_ci# If the constructor initializers don't fit on a line, put each initializer on its own line. 72e5c31af7Sopenharmony_ciConstructorInitializerAllOnOneLineOrOnePerLine: true 73e5c31af7Sopenharmony_ci 74e5c31af7Sopenharmony_ci# The number of characters to use for indentation of constructor initializer lists. 75e5c31af7Sopenharmony_ciConstructorInitializerIndentWidth: 4 76e5c31af7Sopenharmony_ci 77e5c31af7Sopenharmony_ci# Indent width for line continuations. 78e5c31af7Sopenharmony_ciContinuationIndentWidth: 4 79e5c31af7Sopenharmony_ci 80e5c31af7Sopenharmony_ci# If true, format braced lists as best suited for C++11 braced lists. 81e5c31af7Sopenharmony_ciCpp11BracedListStyle: false 82e5c31af7Sopenharmony_ci 83e5c31af7Sopenharmony_ci# Disables formatting at all. 84e5c31af7Sopenharmony_ciDisableFormat: false 85e5c31af7Sopenharmony_ci 86e5c31af7Sopenharmony_ci# Indent case labels one level from the switch statement. 87e5c31af7Sopenharmony_ci# When false, use the same indentation level as for the switch statement. 88e5c31af7Sopenharmony_ci# Switch statement body is always indented one level more than case labels. 89e5c31af7Sopenharmony_ciIndentCaseLabels: false 90e5c31af7Sopenharmony_ci 91e5c31af7Sopenharmony_ci# The number of columns to use for indentation. 92e5c31af7Sopenharmony_ciIndentWidth: 4 93e5c31af7Sopenharmony_ci 94e5c31af7Sopenharmony_ci# Indent if a function definition or declaration is wrapped after the type. 95e5c31af7Sopenharmony_ciIndentWrappedFunctionNames: false 96e5c31af7Sopenharmony_ci 97e5c31af7Sopenharmony_ci# If true, empty lines at the start of blocks are kept. 98e5c31af7Sopenharmony_ciKeepEmptyLinesAtTheStartOfBlocks: true 99e5c31af7Sopenharmony_ci 100e5c31af7Sopenharmony_ci# Language, this format style is targeted at. Possible values: None, Cpp, Java, JavaScript, Proto. 101e5c31af7Sopenharmony_ciLanguage: Cpp 102e5c31af7Sopenharmony_ci 103e5c31af7Sopenharmony_ci# The maximum number of consecutive empty lines to keep. 104e5c31af7Sopenharmony_ciMaxEmptyLinesToKeep: 1 105e5c31af7Sopenharmony_ci 106e5c31af7Sopenharmony_ci# The indentation used for namespaces. Possible values: None, Inner, All. 107e5c31af7Sopenharmony_ciNamespaceIndentation: None 108e5c31af7Sopenharmony_ci 109e5c31af7Sopenharmony_ci# The penalty for breaking a function call after "call(". 110e5c31af7Sopenharmony_ciPenaltyBreakBeforeFirstCallParameter: 19 111e5c31af7Sopenharmony_ci 112e5c31af7Sopenharmony_ci# The penalty for each line break introduced inside a comment. 113e5c31af7Sopenharmony_ciPenaltyBreakComment: 300 114e5c31af7Sopenharmony_ci 115e5c31af7Sopenharmony_ci# The penalty for breaking before the first <<. 116e5c31af7Sopenharmony_ciPenaltyBreakFirstLessLess: 400 117e5c31af7Sopenharmony_ci 118e5c31af7Sopenharmony_ci# The penalty for each line break introduced inside a string literal. 119e5c31af7Sopenharmony_ciPenaltyBreakString: 1000 120e5c31af7Sopenharmony_ci 121e5c31af7Sopenharmony_ci# The penalty for each character outside of the column limit. 122e5c31af7Sopenharmony_ciPenaltyExcessCharacter: 1000000 123e5c31af7Sopenharmony_ci 124e5c31af7Sopenharmony_ci# Penalty for putting the return type of a function onto its own line. 125e5c31af7Sopenharmony_ciPenaltyReturnTypeOnItsOwnLine: 1000000000 126e5c31af7Sopenharmony_ci 127e5c31af7Sopenharmony_ci# Pointer and reference alignment style. Possible values: Left, Right, Middle. 128e5c31af7Sopenharmony_ciPointerAlignment: Left 129e5c31af7Sopenharmony_ci 130e5c31af7Sopenharmony_ci# If true, a space may be inserted after C style casts. 131e5c31af7Sopenharmony_ciSpaceAfterCStyleCast: false 132e5c31af7Sopenharmony_ci 133e5c31af7Sopenharmony_ci# If false, spaces will be removed before assignment operators. 134e5c31af7Sopenharmony_ciSpaceBeforeAssignmentOperators: true 135e5c31af7Sopenharmony_ci 136e5c31af7Sopenharmony_ci# Defines in which cases to put a space before opening parentheses. Possible values: Never, ControlStatements, Always. 137e5c31af7Sopenharmony_ciSpaceBeforeParens: ControlStatements 138e5c31af7Sopenharmony_ci 139e5c31af7Sopenharmony_ci# If true, spaces may be inserted into '()'. 140e5c31af7Sopenharmony_ciSpaceInEmptyParentheses: false 141e5c31af7Sopenharmony_ci 142e5c31af7Sopenharmony_ci# The number of spaces before trailing line comments (// - comments). 143e5c31af7Sopenharmony_ciSpacesBeforeTrailingComments: 1 144e5c31af7Sopenharmony_ci 145e5c31af7Sopenharmony_ci# If true, spaces will be inserted after '<' and before '>' in template argument lists. 146e5c31af7Sopenharmony_ciSpacesInAngles: false 147e5c31af7Sopenharmony_ci 148e5c31af7Sopenharmony_ci# If true, spaces may be inserted into C style casts. 149e5c31af7Sopenharmony_ciSpacesInCStyleCastParentheses: false 150e5c31af7Sopenharmony_ci 151e5c31af7Sopenharmony_ci# If true, spaces are inserted inside container literals (e.g. ObjC and Javascript array and dict literals). 152e5c31af7Sopenharmony_ciSpacesInContainerLiterals: false 153e5c31af7Sopenharmony_ci 154e5c31af7Sopenharmony_ci# If true, spaces will be inserted after '(' and before ')'. 155e5c31af7Sopenharmony_ciSpacesInParentheses: false 156e5c31af7Sopenharmony_ci 157e5c31af7Sopenharmony_ci# If true, spaces will be inserted after '[' and befor']'. 158e5c31af7Sopenharmony_ciSpacesInSquareBrackets: false 159e5c31af7Sopenharmony_ci 160e5c31af7Sopenharmony_ci# Format compatible with this standard, e.g. use A<A<int> > instead of A<A<int>> for LS_Cpp03. Possible values: Cpp03, Cpp11, Auto. 161e5c31af7Sopenharmony_ciStandard: Cpp03 162e5c31af7Sopenharmony_ci 163e5c31af7Sopenharmony_ci# The number of columns used for tab stops. 164e5c31af7Sopenharmony_ciTabWidth: 4 165e5c31af7Sopenharmony_ci 166e5c31af7Sopenharmony_ci# The way to use tab characters in the resulting file. Possible values: Never, ForIndentation, Always. 167e5c31af7Sopenharmony_ciUseTab: Always 168e5c31af7Sopenharmony_ci 169