<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/69643>69643</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
`git clang-format` doesn't work on stock Windows
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-format
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
llvm-beanz
</td>
</tr>
</table>
<pre>
Windows can't interpret the `#!` line at the top of the git-clang-format script. The script seems to work if you have WSL installed but errors on stock Windows configurations. The `scan-build` tool solves this by having a `scan-build.bat` that invokes python and can be called from a Windows shell environment.
This solution is applied to clang-format in #69228.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxckk9v2zAMxT-NfCFi2PK_-OBDhyKn3VagZ9pibK2KaIh0iuzTD066bt3FJiCJ_PG9hyJ-jkSDab6Z5jnDTRdOQwjXy2EkjL-ykd1tePXR8bvAhNHYTsFHpbQmUtCFwLSFsZWxpWkLCD4S4ONAeQU-38vZ62EKGOfDmdMFFWRKftUcXhb6qEGILgLK8M7pDfwZbrzBgleC1x_fwUdRDIEcjJsCpcRJgCOI8vQGn4Qcz37eEqrnKI_2pi1kwngYNx_czqjMAYTDlQR08QLjbZ_j4wz49XY-ot5fLLhvfeU3ElhvunAEjG4XBEaC6QF2TnwB_GSRhUIAilefOF4oam6KZ1M8Pb4v-2DhsO2k4AVwXYMntwvwRSkfwdiq7a095pkbKtdXPWY0lG3fdU1ZdcdsGc41umasEOnYNFRj37my7Fw3TVVDtsfMD7awVVmUvS2rtjzmTVU3x7qr-wLLtnGFqQu6oA_5bn7Oac68yEZD27d1lQUcKcg9Jtb-i2es3YPzJzPbLKYugheVv43Ua6DBtMXs9ctuu7SOSR6putv-v6PZlsKwqK5iqidjT8aeZq_LNuYTX4w97UM-foc18U-a1NjTHV2MPd3pfwcAAP__siz3jw">