<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/91360>91360</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang-format] Possible lack of indentation when a multi-line string is passed as an argument to a function
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
Tamaranch
</td>
</tr>
</table>
<pre>
With
```yaml
Language: Cpp
AlignAfterOpenBracket: Align
BreakStringLiterals: true
ContinuationIndentWidth: 2
IndentWidth: 2
```
this code is left as is:
```c
f ("str1"
"str2",
arg2);
```
Shouldn't it be indented as follows:
```c
f ("str1"
"str2",
arg2);
```
This is usually done when an argument extends over several lines, to clearly separate this argument from the others. For example:
```c
f (a
+ b,
arg2);
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUU01r6zoQ_TXyZkiQZSepF14kKYEHhfegha7H8tjWqywZadw2__4iO7f3g3I_wNjo-IzmzJwZjNH0jqgWu5PY3Wc48-BD_YQjBnR6yBrfXutnw4OQ90IexV6uzxVHu0IP6PoZexLFEc7TdOMt76M1vTt2TOHfidwpoH4hTrzlx8o5BcKXRw7G9Q-GKaCNicFhppVw9o6Nm5GNd_-4lhw_m5aHRFIr43P0Q-p65MFE0L4lMBEsdQwYwaRcP9H1eu5AqDuhVOSQC3W7EwBWSCVInW8ohl4JVYni9Gnqx8HPtnVCHRgMQ0NgFsXUJg2dt9a__b2Qz6XA78Q8pT6YCHOc0dortN4RvA3kAF2KnUdyDPTO5NoI_pUCRHpNvoA1jqJQZ2AP2hIGe4VIEwZkgqW_H_Fd8CPwQOB5oBC3cPEB6B3HydKvK8UfCjxB88dtztq6aKuiwozq_JDvcpmXZZ4N9U7nheyUJpJlJ0u1J72XXVlUxb4jyu8yUyupSrmTh_wgi91-qxotZVs0DUpd5ViJUtKIxm6tfR23PvSZiXGmusqLvcwsNmTj1xUKdSJtmrmPopTWRI7fwtiwXZZNW3T9pvNhRBa7e_jPx2gaS2BRv4DvbiOyTP3NHhhny2aTXIC4LEzyccIY10H63j_2gNDNTqf4bA62HpinZcjURahLb3iYm632o1CXpO722UzB_0-ahbosFUahLkuRXwIAAP__G3c9sg">