View on GitHub

Clang Power Tools

Bringing clang-tidy magic to Visual Studio C++ developers

Clang Power Tools is a free Visual Studio extension helping Visual Studio C++ developers leverage Clang/LLVM tools (clang-tidy), in order to perform various code transformations and fixes like modernizing code to C++11/14/17 and finding subtle latent bugs with its static analyzer and CppCoreGuidelines checks.


Install this extension from Visual Studio Marketplace

Works with Visual Studio 2015 / 2017





A list of available checks that clang-tidy can perform:


Custom clang-tidy wildcard checks:


The extension can be configured via the standard Visual Studio options panel.
Tools > Options > Clang Power Tools
You can customize the tool behavior as well as the clang++ compilation flags, clang-tidy checks, etc.


PowerShell scripts (for CI / automation):


Visual Studio 2015 / 2017

Download and install Clang for Windows (LLVM pre-built binary)

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.

Windows 7: Download and install at least PowerShell 3.0 (already available on Windows10)

Version History

Release Notes

Tips / Q & A

Tips and Frequently asked questions


If you have any suggestions or feedback about Clang Power Tools, or if you encounter any issues with your projects, please submit here.

We’re excited to hear about your experience using Clang Power Tools.