<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/54367>54367</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang-format crashes on clang/test/Analysis/inline-plist.c
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-format,
crash
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
owenca
</td>
</tr>
</table>
<pre>
The minimum test case to reproduce the crash using the latest trunk version:
```
$ ls .clang-format
ls: .clang-format: No such file or directory
$ clang-format
int *p = ^int*(){ //
return nullptr;
}();
Assertion failed: ((!TypeIsFinalized || T == Type) && "Please use overwriteFixedType to change a fixed type."), function setType, file FormatToken.h, line 351.
...
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxlUslu2zAQ_RrqMrAga7Gtgw5eaqCXogf_AEmNJSYUKXBJ6n59h5KDtCkwAjUr33tDYftHdxsRJmXUFCcI6ANI7hGCBYezs32U5FCJdNyPEL0yw-JrvhQHF80rvKHzyhpWHVlxYcWR7YqnrW5Zg_aQS83NsLlbN_GwZrSnni8JCvyw4KMc4a40gnXQK4cyWPf4nPf_LGUCsPI4A6suwJpv5JPLygMrW7Y_Ue6abKkFYheiM2Ci1nNwrDo9R-8vz46PyNF7dIHYwZ0TnD7hW0rItrfHjN_9VRmu1W_sge3PZHBLGBKMlKdh1LAjo6P8qTHpG-mzJNu7UwGv6hf2qTTJLkcihsCJPEUhUDinvgSpPMM9GrmA8RjW4edVpeuixM2-osnHFNXKIFTNNl9p5Hn-ZTdZ31V9W7U8Cypo7P5WdF03eqCbljgpl_ZNx5G4Przy9KtMumQza-VDLrPodDeGMKedrmIPKoxR5NJO5Gj99nFs6GW90EbTDO8jpmFNXe322dgJ7HdYlChqgXdRNI1oa5TIucQaD_0h01yg9h1rTiTLP88gqXROIi_ok9tcMtWVRVkW1bYuqrLdbnPBW9H0XNR13ex6wVld4ESrzROy3Lohc90CUsTBUzKx859J7r0aDOICgObzGEbrOvuORvJsodMtXP4AxOoN6Q">