Bringing clang-tidy magic to Visual Studio C++ developers
Clang Power Tools is a free Visual Studio extension helping C++ developers modernize and transform their code to C++14/17/20 standards by using LLVM's static analyzer and CppCoreGuidelines
Used and trusted by

Powerful clang-tidy and clang-analyzer checks
Perform large scale refactorings, called modernizers.
Retrofit important C++20 features to your old code, increasing ease of reading, safety, and code performanceLatest demo
Automatically find the best Clang-Format Style
Clang format your code
Auto-format source file on save, configurable style options, file extension rules.


Experiment with different LLVM versions
Quickly install side-by-side multiple LLVM versions and select which one you want to use.
Love to fine tune your tools? Us too!
The extension can be configured from the standard Visual Studio options panel.
Customize the tool’s behavior, as well as the clang++ compilation flags, checks, clang-tidy and even more.

Quick access from anywhere in Visual Studio
Easily run the Clang Power Tools commands where you need them.
PowerShell script (for CI / automation)
Script UpRequirements
- Visual Studio 2015 / 2017 / 2019
- LLVM 1 for Windows
- Windows 7: Download and install at least PowerShell 3.0 2
Feedback
If you have any suggestions or feedback about Clang Power Tools, or if you encounter any issues with your projects, please submit here.
- We will automatically load Clang from the default installation path "C:\Program Files\LLVM". If you prefer to use a different location you must manually add the bin folder to %PATH%.
- Already available on Windows 10