Integrate LLVM Clang 4.x.x / 5.x.x / 6.x.x into Visual Studio 2017

前端 未结 7 871
南笙
南笙 2020-12-23 18:40

The official LLVM 4.0 build for Windows integrates with Visual Studio up to Visual Studio 2015. Unfortunately it still doesn\'t support Visual Studio 2017.

When you

相关标签:
7条回答
  • 2020-12-23 19:11

    I'm a newbie with the LLVM technology and I'm using a Visual Studio extension, Clang Power Tools. They have a settings page from where you can install LLVM (all versions >= 4.0). After that you are free to apply clang compile or tidy with code modernization(this is what I appreciate the most) by using the extension buttons from VS toolbar. In this way you don't need to configure anything.

    Update

    Open the extension settings and select the LLVM page from the top. On the LLVM page, you'll see all the supported LLVM versions and at the right of each version the install button. Install any version you need. On the bottom of the page is a dropdown that allows you to select what version to use in case you installed multiple versions.

    The feature is explained step by step in this blog post

    0 讨论(0)
提交回复
热议问题