<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/54502>54502</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang-format hangs when piping to it's own config
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-format
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
ljmf00
</td>
</tr>
</table>
<pre>
Doing the following:
```
clang-format --dump-config > .clang-format
```
Produces:
```
Error reading /some/path/.clang-format: Invalid argument
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx9kMtuwyAQRb8GNsgWxsZ2FyxSJZa66y9gg4EIG4tHov59idOoTVVVGs1DI-6cy-jEBzs6syoUtUSzs9Zd8wTqA8BHgB-5xV-xj5Plqypm5xceUVGItGzF5NbZKATqEyp_7v8UuOd370SaZPj_2Ml755GXXNwoARmCW2QuG486l-dj9QG9rRdujUDcq7TI9TcAFKwWL_ULh9FEK9mTF537gK5armgz2_4rDpkISBeQu67obhImb5mOcdvJyZBDmajTWE5uyYO1l0cpNu_OcsoKgwkhZa9koA3FBGrWU9GIuSYtlf2YQ-C-aZpOVCPlXVXP0PJR2sAAfQWEPNkkBNAjNIxgQnBNSNVTXLVlP7azpE1XjROtml6ABsuFG1veUErnFfRspxqTCnlpTYjhe8lDMGqVcr-Y9XmK2uUX52XGGO78bIf_BNm3rXw">