CLion
 
Get CLion
You are viewing the documentation for an earlier version of CLion.

Clang-Tidy integration

Last modified: 11 January 2023

Settings | Editor | Inspections | C/C++ | Static Analysis Tools | Clang-Tidy

Default configuration: list of the enabled/disabled checks

Default severity: Warning

Clang-Tidy is a Clang-based tool for static code analysis. CLion shows Clang-Tidy checks the same way as its own code inspections, with quick-fixes available via the the Yellow bulb icon-button or Alt+Enter:

https://resources.jetbrains.com/help/img/idea/2022.3/cl_CTbasics.png
Gif