<div><div dir="auto">Some people did a lot of work making both clang-tidy and clang-format easy to use on windows.</div><div dir="auto"><br></div><div dir="auto">clang-tidy</div><div dir="auto"><a href="https://youtu.be/BAkdRY9l5pI">https://youtu.be/BAkdRY9l5pI</a><br></div><div dir="auto"><a href="https://github.com/Caphyon/clang-power-tools">https://github.com/Caphyon/clang-power-tools</a><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">clang-format</div><div dir="auto"><a href="https://marketplace.visualstudio.com/items?itemName=LLVMExtensions.ClangFormat">https://marketplace.visualstudio.com/items?itemName=LLVMExtensions.ClangFormat</a><br></div><div dir="auto"><br></div><br><div class="gmail_quote"><div>Em qui, 15 de fev de 2018 às 06:37, Mitchell, Liam via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi cfe-dev,<br>
<br>
I'm interested in using the Clang refactoring tools on Windows code. We have a large multi-platform codebase, and while we use Clang to compile a lot of it, we still have quite a bit of Windows-specific code which we compile with MSVC. Initial results refactoring the Clang-compatible code were good, so I'm hopeful I can parse most of the MSVC-specific stuff as well. Is it possible to use clang-cl somehow as the frontend for the refactoring tools? I can get a compilation database with the CL.exe flags pretty easily, but translating that to clang flags across our whole codebase is likely to be challenging. I'm open to modifying the refactoring tools a bit/writing my own tools if that's what it takes.<br>
<br>
Thanks!<br>
Liam<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
</blockquote></div></div>