[cfe-dev] Clang refactoring tools and clang-cl on Windows

André Jansen Medeiros Villar via cfe-dev cfe-dev at lists.llvm.org
Thu Feb 15 19:10:00 PST 2018


Some people did a lot of work making both clang-tidy and clang-format easy
to use on windows.

clang-tidy
https://youtu.be/BAkdRY9l5pI
https://github.com/Caphyon/clang-power-tools


clang-format
https://marketplace.visualstudio.com/items?itemName=LLVMExtensions.ClangFormat


Em qui, 15 de fev de 2018 às 06:37, Mitchell, Liam via cfe-dev <
cfe-dev at lists.llvm.org> escreveu:

> Hi cfe-dev,
>
> 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.
>
> Thanks!
> Liam
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20180216/0774518c/attachment.html>


More information about the cfe-dev mailing list