<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=http://email.email.llvm.org/c/eJy9lMFymzAQhp8GLjtmsGRsc-CQ1OOpbz30nhFCgDpCYpBkQp6-K4wT101PSTqjAUnLrv79dkVpqqk4mgHEM-t6JSLyDRp5FhpcK6A2SplR6gak7r2L6EOUHqL0-tyml8H7_rIjtYOOSR2RfURyiHaPl30A66rgTR-sG0K8bnpaZhE9QETIz1ZawMFg2Xctc2GjGQRzYghrDft0xY3ynbYJPFiwnrdBMVdMNysnqwlGqRTYXkl0dmDO6Nl55STmBkpqYfGsiC66ot3hLpW7_N4C4-ISG3MbZNO62is1hSz7wVSeiztgxrsvJHb9CD4TXSBzG_cTUX43o0D_cKCs4QTajMBRVXPBtuhmdgFo_x-3xYazoMm2ZnDJXyR-KMGsAG40R7KdSD7QRJUR4Sz32jdMTwsLm9x6nmA0XlXwJJ57wd3Tnw12e1FRU7A545iaK3NNRwlr76v_5Zf4X0Q_APFkQwf2xlpZqpAo-L7C1oZXurUZOuYCXzSWomVnhBDYoIyOaY29R49xVdAqpzmLmXeoqxAvL1JMjZ9GX8d-UEXrXD8TIkccjXStLxNuOlwodb6-Vli6X1gSXEprfbgIx4zmlMZtsa6rnPNNSrItyyhfk3pXbTc7QUqeEpqRWLFSKFtE2SPmr8UIc4jAIjvEH1cgC5ISHOv9OqckyxKe0nq7rzebvK7Tcl9Fm1RgeVUS4iRmaOKhmEOWvrFoVNI6-2ZkyLzRQsyCUaGTToniFnoocejTpbCX8mMb9Pj3qd77bSTxrLmYBf8GaBIAAw>53933</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang-format should concat strings spread over multiple lines.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
ezzieyguywuf
</td>
</tr>
</table>
<pre>
For example, given the following input:
```cpp
int main() {
std::string my_string = "This is a string that is greater than 80-columns. As such, clang-tidy will split it over multiple lines";
}
```
`clang-tidy` will (rightfully) produce the following output:
```cpp
int main() {
std::string my_string =
"This is a string that is greater than 80-columns. As such, clang-tidy "
"will split it over multiple lines";
}
```
However, if I now change the string as follows:
```cpp
int main() {
std::string my_string =
"This string is now short. "
"Please concat me.";
}
```
`clang-tidy` does not produce any changes.
I would _expect_ the following, given that the total line is now less than 80-columns:
```cpp
int main() {
std::string my_string = "This string is now short. "Please concat me.";
}
```
Is it possible to update `clang-format` to behave in this manner?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy9k8FyozAMhp8GLpoyFEICBw7pZjLb2x723jFGgHeMzWA7lD79yoS02Wz31HZnPIAtJP36JFe6nsujHgGfWT9IDJJv0IoTKrAdQqOl1JNQLQg1OBuk-yA-BPHluY3Piw_D-UQoCz0TKkjyICkg2D2czwGMrb13ujd29PH6-Wn9CtIDBEnysxMGaDFYz23HrD9oR2QWR79XkMd3XEvXKxPB3oBxvPOKuWSqvbOinmESUoIZpCBnC_pEnr2TVlBtIIVCQ7mCdNUV7A43pdzU9xaYNufYVNso2s42TsrZVzmMunYcb4BpZ7-Q2OUn-Ex0nsx13E9E-V1PSP4-oWjgEZSegJOq9oxt1c3MCtD8P26rjb68JtPp0UZ_kfghkRkErhUnsj1GHxiiWqPPZV_nhql5ZWGia89HmLSTNTzh84DcPv05YNcXlTR5m9WWyaUzl3IkGnPb_S-_xP8i-gGIj8ZP4KCNEZX0hYIbahpteKXb6LFn1vMlY4UdOxEEz4Zk9Ewpmr30GNZlWhdpwUIrrMTy2tUL9bRXeeciqJiB7lD93vBHoRtl2Vk7LEiTI61W2M5VEdc9baQ8XV531Otf1EPaCmOcvznHLC3SNOzKIt7xbR5vkzyJkx1m9T1ukLOKxU2FaVaFklUoTRlkDwRM4QRLCA8vO4SiJC9a9_l9kSZZFvE4bbZ5s9kUTRNXeR1sYqRuysjriPTYhmO5SKpca8gohbHmzcgIcasQl3QUnzlLDSzx5UXg3Lp5ck245C8X_b8BfSXq4Q">