<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/153745>153745</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
`-Wstring-concatenation` seems insufficiently alarmist
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
r-barnes
</td>
</tr>
</table>
<pre>
```
int main()
{
// Or this one
const char* v3[] = {
"One",
"Two"
"Three",
"Four",
"Five",
"Six"
"Seven",
"Eight"
"Nine",
"Ten",
"Eleven",
};
}
```
does not raise a `-Wstring-concatenation` warning because two commas are missing ([godbolt](https://godbolt.org/z/K4ef7GY8h)).
Perhaps a better heuristic for `-Wstring-concatenation` is "if strings on either side of me are delimited by commas, I should probably have one as well".
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx8U1HL4zYQ_DXrlyVBWUeJ_eCH5FKXUugVrlD6KNvreIssBUlOmv76oiTwXdvcgbHx7sxqPLM2McrZMTegj6BPhVnS5EMTVp0JjmPR-eHewE69LnUQl3A24oAqoBrUAfZHUAdERKAWqMXPAdMkEb3j3Oi9iwn7yQSgA17L50GIUJ7wg_vk02fHQAT06d_l324eiDAX89sU-C2s9Ut4W5frW_wX-SuXn1O_8JXdO9QPcp7SC_dR_UW-IfXrIZlt_zcX9icojy9GNvCU7195PHiO6HzCYCQyGoSdWv0eUxB3XvXe9SaxM0m8g53CmwlO3Bk77s0SGdPNY-_n2UQ0gXGWGHM7B6aPZz903ibQJ6BqSukSoTw8g3u11j6cgdq_gdqftzzuf_yjmnLSVK-zTHX4lcNkLhENdpwSB5x4CRKT9Dj68H2tErMnMuITkJcEWdLEAaMMjH7EmR-yB7YyS-IBu_vrc4A-4U8YJ7_YAS_Bd6azd5zMlfOuoYl4Y2uBaF0MTTnUZW0KbjZ7ranUFdXF1OhyY3o11qNRiuq66quxKk1XbXa0HbcbU0hDirSqNlrpUlG9Luv9nmvN1Km61L2CreLZiF1be52zV4XEuHCz0eV-qwtrOrbx8TcROb7ho5vj16ciNJm06pZzhK2yElP8GJMkWW6-615kniOKi8s4Si_skr2jsSbMElOxBNv8J1FJ09Ktez8Dtfmg12N1Cf5P7hNQ-5AXgdqX_mtD_wQAAP__UI4wbg">