<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Add "AllowAllArgumentsOfCallOnNextLine" counterpart to AllowAllParametersOfDeclarationOnNextLine"
href="https://bugs.llvm.org/show_bug.cgi?id=40121">40121</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Add "AllowAllArgumentsOfCallOnNextLine" counterpart to AllowAllParametersOfDeclarationOnNextLine
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Formatter
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mfbz@stjernholm.org
</td>
</tr>
<tr>
<th>CC</th>
<td>djasper@google.com, klimek@google.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>For function declarations there is AllowAllParametersOfDeclarationOnNextLine
which can be set to false to produce this style together with
BinPackParameters=false:
std::string function_with_a_very_long_name(int and_,
int several_,
int short_,
int arguments_);
std::string function2_with_a_very_long_name(
int and_,
int some_,
int short_,
int arguments_,
int and_a_quite_long_argument_as_well_);
However there is no corresponding boolean to avoid packing all arguments on one
line in a function call, i.e. to get this style together with
BinPackArguments=false:
void f() {
function_with_a_very_long_name(and_,
several_,
short_,
arguments_);
function2_with_a_very_long_name(
and_,
some_,
short_,
arguments_,
and_a_quite_long_argument_as_well_);
}
This style is used at least in the Android Runtime project
(<a href="https://android.googlesource.com/platform/art/+/master">https://android.googlesource.com/platform/art/+/master</a>), which is the reason
for this feature request.
Thanks!</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>