<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/61474>61474</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
please add an option "indent insted of aligning"
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
unxed
</td>
</tr>
</table>
<pre>
Something like `astyle -xU` does. From it's documentation:
`--indent-after-parens / -xU`
Indent, instead of align, continuation lines following lines that contain an opening paren '(' or an assignment '='. This includes function definitions and declarations and return statements. The indentation can be modified by using the following indent-continuation option. This option may be preferred for editors displaying proportional fonts.
```
void Foo(bool bar1,
bool bar2)
{
isLongFunction(bar1,
bar2);
isLongVariable = foo1
|| foo2;
}
```
becomes
```
void Foo(bool bar1,
bool bar2)
{
isLongFunction(bar1,
bar2);
isLongVariable = foo1
|| foo2;
}
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzEVEuvrDYM_jVhY80IAsNjwaJnRkiVuutjb4iBtCFGSbj3zr-vAhzNOX1I7epGKCGx_fn7DDF6rydL1Irbm7g9EtzCzK7d7DdSSc_q2f7MC4VZ2wmM_oNAlCn68DQEl2-_ijIFxeSv0DleQAchKw-Kh20hGzBotiL_QaQPkb7PZXq5aKvIhguOgdxlRUfWg5DdifjR_cfdU8g7aOsDoQIeAY2ebDwb2AZttz0PGG3Jw8jG8NeDbdyHGcPuh9oCWuCVbLTuWUHISshayArYRetRjch9N-UPIasr_DJrD9oOZlMxw2aHPaGiUVsdXz2gVaBoMOjwdeAobM6CDxgoYvoIRXCoP0gPaKEnWFjpUZOC_gmbj_zCTB-0nAX7pJfXuJzsjg0s-Ixwq6ORnCMFIzsgpQM7D0r71eBzV-94ZRdD0MDIkdpfPtL57NsvrBV0zELWPbOBHl0m5P0wwvuRFLI5w6u30wYA2v_EdurOokWIz9FnYP72kcAr8Dd0GntDIPIHjMzZy-FvQ1R3Ud2jl3zhVY9_1HTMPQ28kP9O2s_xLyX4T_r_v-REtblq8gYTarOyatIybW51MrdVmuGtKG-osC6oaYoyHWusqwFvg6zHJtGtTGWe5lmV5UWT1de-UTmpXOZ1j0qNhShSWlCbqzFfliu7KdHeb9SWWVEVicGejN_7jJSWvsJuFFLGtuPaGHPpt8mLIjXaB_9CCToYaldD6AlQqeMe7z-8kPK4G0d_eLUHbSchZbI5084hrD62IdkJ2U06zFt_HXgRsospzuWyOv6dhiBktxPzQnY78T8DAAD__6_lj68">