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

Clang-Tidy integration

Last modified: 07 September 2022

Settings / Preferences | Editor | Inspections - C/C++, General, 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.2/cl_CTbasics.png
Gif