<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/105133>105133</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang-format over breaking near "new" expressions
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-format
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
kadircet
</td>
</tr>
</table>
<pre>
foo.cc:
```
fooooooooooo(new BARRRRRRRRR(
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXZZZZZZZZZZZZZZZZZZZZZZZZZ()));
```
Expected:
```
$ ../llvm/build/bin/clang-format -style='{AlignAfterOpenBracket: AlwaysBreak}' foo.cc
fooooooooooo(new BARRRRRRRRR(
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXZZZZZZZZZZZZZZZZZZZZZZZZZ()));
```
Actual:
```
$ ../llvm/build/bin/clang-format -style='{AlignAfterOpenBracket: AlwaysBreak}' foo.cc
fooooooooooo(
new BARRRRRRRRR(
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXZZZZZZZZZZZZZZZZZZZZZZZZZ()));
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzMk0GP2ywQhn_N-ILWgsFZ2wcOtvL5-kk9Vb0BHjs0xESAk82_r5xNlVbq9ljtqxEIaRhePczolNy8ECnY9bDbF3rNhxDVUY8uWsqFCeNNTSGU1oLsgO-Bd_DKH3E_TuEpwGahK-u7Lz8F2Lynsa9_17ePtFXA9hGy_6OH9_W_tzPZTONHTgErVpaAg_eXE-BgVufHbXcL4GC9XuaXKcSTzuwl5ZsnkHvAGuq-825euilT_P9MSx-1PVIG2bHOX_Ut9ZH0EeotmT1gfTI0nc2r9p8VzAMDY-wfIypGJcdWtrogJWqsRF2JVhQHZexOCttyOTa2aoVpmlHo0Rpsd2h4PRVOIceKN8hFLV6lKI1px6mprK5qrV9FDRWnk3a-3JiWIc6FS2klJfhOSFl4bcin-9gh_koYELdBjGq792LWOUHFvUs5PStllz2p3_4lXCgys-F2y8wW0pEB4kJXQGT0do6UkgtLKtbo1SHnc9qaAQfAYXb5sJrShtOzA-6Pn2P4TjYDDnfrCXB4uL8o_BEAAP__dNdEIg">