Code: Select all
LongTypeName short_function1(int argument1);
void short_function2(int argument1);
void long_function(int argument1, int argument2, int argument3, int argument4);
Code: Select all
LongTypeName short_function1(int argument1);
void short_function2(int argument1);
void long_function(int argument1,
int argument2,
int argument3,
int argument4);
< /code>
Aber das tatsächliche Ergebnis ist Folgendes: < /p>
LongTypeName short_function1(int argument1);
void short_function2(int argument1);
void long_function(int argument1, int argument2, int argument3, int argument4);
Code: Select all
BasedOnStyle: LLVM
AllowAllArgumentsOnNextLine: false
BinPackArguments: false
BinPackParameters: false
BreakBeforeBraces: Stroustrup
BreakBeforeBinaryOperators: All
BreakInheritanceList: AfterComma
BreakTemplateDeclarations: Yes
AlignAfterOpenBracket: Align
AllowAllParametersOfDeclarationOnNextLine: false
AlignConsecutiveAssignments: AcrossEmptyLines
AlignConsecutiveDeclarations: AcrossEmptyLines
AllowShortIfStatementsOnASingleLine: AllIfsAndElse
AllowShortLoopsOnASingleLine: true
AllowShortFunctionsOnASingleLine: false