<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/67547>67547</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang-include-cleaner not working on windows
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
JVApen
</td>
</tr>
</table>
<pre>
When trying to use clang-include-cleaner, it gave many issues with standard library types.
It managed to add `#include <__msvc_chrono.hpp>` to one of the tested files.
It added `<tchar.h>`
It managed to add our forced-include file (added via `/FI` on the command line)
It added `"gtest/gtest.h"` while the compile command contains (`-Xclang --system-header-prefix="gtest/" -Xclang --system-header-prefix="gmock/"`)
It added `"gmock/gmock-matchers.h"` while `<gmock/gmock.h>` was present.
I'm not sure if I should split this in separate issues.
I haven't
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyMU0GP2ywQ_TX4MrJFIHaSgw_7bb5I2x_Q9rYiMDZ0MViA4-bfV9iOuq12pZ6Gw5v33rxhRIymd4gtqf8j9bkQU9I-tF--Po3oiqtX9_abRgcp3I3rIXmYIoK0wvWlcdJOCktpUTgMhD2DSdCLG8Ig3B1MjBNGmE3SEJNwSgQF1lyDCHdI9xFjReiZ0KeXlBtEjyoLCKWANJQwvgkA4c-vr0O8yVepg3e-0uNI-P-koRnvHYLvIGmEhDGhgs7Y99xCKVwp-XOSWoRKr92fqfspQOeDRPWYcaEEwo4r182I1eLl8pJdeLfISz8MwuUZHRJ2-sAAY332SNhlqZUmjGWCWWf-jWPM7weX9C4J42IWJw0tvy_ZQ1nGe0w4lBqFwlCOATvzk_DzOwnCGPwTfvDybcUvHj8xvqGWWg4iSY0h_jXBGvIf0EfYMIsIY8CILm272XQIOwzgfII4BQTTwQtE7SerII7WJEjaRDAOIo4iiITbx3osGLS4oSPskKBQLVcnfhIFtrvmVB93DaO00K0U-4bxU10r2alOHLuG7UR95B3t-F6ppjAto4zTEzvsGOWMVgfOG9apmu5qVJKfyJ7iIIytrL0NlQ99sbhom0O9PxRWXNHG5YgYczivFnM09bkIbe4pr1MfyZ5aE1P8zZJMsth-eFBLJrMPb_nyvIPZOOXnWEzBtjqlMRL-tKzt0pukp2sl_UDYJVNvpRyD_4Eyf4Y1M8Iui-FfAQAA__8bnEaR">