<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/120050>120050</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang-format v19.1.5 crash
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-format
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
haiboxia007
</td>
</tr>
</table>
<pre>
clang-format format "json.hpp" crash
---------------------------------------
Error Informations from clang-format output
Formatting [1/1] .\json.hpp
LLVM ERROR: out of memory
Allocation failed
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. Program arguments: C:\\DevTools\\bin\\clang-format --style=file -i --verbose .\\json.hpp
Exception Code: 0xC000001D
LLVM ERROR: out of memory
Allocation failed
Formatting [1/1] .\json_fwd.hpp
json.hpp from JSON for Modern C++, nlohmann-json https://github.com/nlohmann/json, single header, size: 919975 bytes
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJycU8FupDgQ_ZriUgLZpgndBw6EbqRdJZsoWe11ZbABJ8ZGtulJz9ePgGRm-jIzSgnJUKrye7x6xb1XvZGygOwWsmPE5zBYVwxcNfZNcULyqLHiUrSamz7urBt5wPcDGHvx1iTDNAFj2DruByBl_GcBpARSnpyzDv8y25XKGo-dsyNe4dk5THPYGuo1FZTpEbJbCqymkB0xgaz6ToaUd3f_3ePp6enhCdJy6Ufb4ShH6y5AylJr265o2HGlpQBSPt6dyucT-rkZVUCOzdyjk5N1AYPFIYTJQ1oCq4HVvQrD3CStHYHVWp8_jnhy9kW2AVitvJ-lB1YjNwKVafUsJIZBbjJhw9vX4HgrEyDlc-DtK4p5nBYIUpIE13h0tnd8RO76eZQmLAywWmqyCrLqKM__Wqv99tUos71cSRfHPly0hPTYKS0xVhjHZ-ka6-Wq2bVsp7dWTqsulRVyQSNvFVmCHj-l6m-m9X_3RbxDAyk_iGwO-Pv54Z_FaXhvhXQGK2C361Oh0XYYuTHx0vGr2XwUAquX0qXXK9NriYPkQrot8XX90wM9HPIMm0uQPhJFKg7pgUeyoHm6S9MbtqPRUNwIQQjdS06bPN_vc9KKPONd2mb80GZkF6mCEbajjN6QPdkRmpBcNCnjS6bb030DOyJHrnSyGCaxro9WqxSUEZKRSPNGar9uI2M_TxIYW_bTFavRmrn3sCNa-eB_3BRU0PJ6VfFMDwlNss120ex08Xkvv3M8F-xbAAAA__88B1MD">