<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/141886>141886</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang-format] AllowAllArgumentsOnNextLine does not seems to work
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-format
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
EugeneZelenko
</td>
</tr>
</table>
<pre>
Test file:
```
#include <string>
class Test
{
public:
void method(const std::string& parameter1, const std::string& parameter2, const std::string& parameter3)
{
}
};
```
Actual result for `method`:
```
void method(
const std::string& parameter1, const std::string& parameter2, const std::string& parameter3)
```
Expected result for `method`:
```
void method(
const std::string& parameter1,
const std::string& parameter2,
const std::string& parameter3)
```
I tried 19.1.1 and `main` (49d48c32e04742ebd05cbbd7dd544b1217b6d9d0)
Clang-Format configuration:
```
BasedOnStyle: LLVM
AlignConsecutiveDeclarations:
Enabled: true
AcrossEmptyLines: false
AcrossComments: false
AllowShortFunctionsOnASingleLine: Inline
BreakBeforeBraces: Allman
ColumnLimit: 100
IndentPPDirectives: AfterHash
IndentWidth: 4
LineEnding: LF
UseTab: Never
Language: Cpp
AccessModifierOffset: -4
AlignAfterOpenBracket: AlwaysBreak
AlignConsecutiveMacros: AcrossEmptyLines
AllowAllArgumentsOnNextLine: false
BinPackArguments: false
BinPackParameters: false
BreakConstructorInitializers: BeforeComma
BreakTemplateDeclarations: Yes
ConstructorInitializerIndentWidth: 0
ContinuationIndentWidth: 4
FixNamespaceComments: true
MaxEmptyLinesToKeep: 1
PackConstructorInitializers: Never
PointerAlignment: Left
SortUsingDeclarations: true
```
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJzEVVtv4zYT_TX0CxGDoi62HvQg3_AFn7MJkGyL9o0iRzIbihRIKpv01xek5OzGNba7QIEaAixxzlzOmSHJnJOdBqhQvkH5bsFGfzK22o8daPgdFOhns2iMeKuewHncSgUor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