---- CLANG-FORMAT OUTPUT---- (extra indentation on the arguments)
void normalFunctionName()
{
if (functionName(
loooooooooooongParam1,
loooooooooooooongParam2,
looooooooooongParam3)) {
return;
}
}
The result have an extra indentation on the arguments of 4 spaces. This happens always that the name of the function call starts on the next indentation (8 spaces). The indentation should not be measure base on the function name, should be measured starting with the <> statement.
---- Related clang-format rules ----
BasedOnStyle: WebKit
Extended Description
---- INPUT ----- void normalFunctionName() { if (functionName(loooooooooooongParam1, loooooooooooooongParam2, looooooooooongParam3)) { return; } }
---- EXPECTED OUTPUT ---- void normalFunctionName() { if (functionName( loooooooooooongParam1, loooooooooooooongParam2, looooooooooongParam3)) { return; } }
---- CLANG-FORMAT OUTPUT---- (extra indentation on the arguments) void normalFunctionName() { if (functionName( loooooooooooongParam1, loooooooooooooongParam2, looooooooooongParam3)) { return; } }
The result have an extra indentation on the arguments of 4 spaces. This happens always that the name of the function call starts on the next indentation (8 spaces). The indentation should not be measure base on the function name, should be measured starting with the <> statement.
---- Related clang-format rules ---- BasedOnStyle: WebKit
ColumnLimit: 80 IndentWidth: 4 ContinuationIndentWidth: 8
AlignAfterOpenBracket: AlwaysBreak AllowAllParametersOfDeclarationOnNextLine: false AllowAllArgumentsOnNextLine: false AlwaysBreakAfterReturnType: None BinPackParameters: false BinPackArguments: false ExperimentalAutoDetectBinPacking: false