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.

Download

Install this extension from Visual Studio Marketplace

Works with Visual Studio 2015 / 2017

Features

ClangPowerTools

ClangPowerTools

ClangPowerTools

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

ClangPowerTools

Custom clang-tidy wildcard checks:

ClangPowerTools

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.

ClangPowerTools

PowerShell scripts (for CI / automation):

Requirements

Visual Studio 2015 / 2017

Download and install Clang for Windows (LLVM pre-built binary)
LLVM-5.0.0-win64
releases.llvm.org/download.html

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

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’re excited to hear about your experience using Clang Power Tools.